From patchwork Mon Dec 16 22:11:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181820 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4942266ile; Mon, 16 Dec 2019 14:27:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxsjeQVG0Z32MNmUiGUq49T81g2kGOTIH2rTesG0P+HuErvz+l/N1Wo+s4zVfFzOteHQSYp X-Received: by 2002:a0c:ada3:: with SMTP id w32mr1702927qvc.99.1576535270840; Mon, 16 Dec 2019 14:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535270; cv=none; d=google.com; s=arc-20160816; b=G8z5uuY64qfrJ4dM4WyhO0YjidpLnKT3YYiRRyV/8Tx36h8aQwFcs5McxYUmlCh+pM n7X/pmj9P5Uy2J0f1np8M1PVgcn+bxlEMDldrbzk7ASBHHSkZKQFK57EbyNqazzZcvNu xGYAtV4ltjJKazpMe8hEXdDM1hA0jOfXF9JQIDf9AzzEb7MwO2t2Hcu/Zdsy+Bmx4PMH Xyvg0NXP6R38c9kSU0QDZpPMu6ddGTU0dGrmGvx2CoW9qiBQR4qp72qsWNJ061fHixHP fH7tzQtrtE1sRnTql11I9zK34IdtnaXvR3Ui2fzfzXycn3vG4ZnXexkMIFDS3S0U3uB+ +Keg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=bNFx13T8a4dGsDrU/Red0oZyOz9KGWpDfG0TIQj+egl9m/Ch0aD4q289CY6NRkDrV4 RAoW+cp0LxWIImSZhpuVDlNnhgwuUn7cTDD4Pu9sXpt+2/LSWmhFYraFmtz86Zm9c71I RQMVReJ5mXQTUr94nvxLqwGKadCjp7ddWMf9xk+eXNr2jhZ2IzuzCnql7/3r1h7aMD3Z xg5KrDNMxDse2lecbLHmqWJX7fIXyTcbdiohBsSkxEZ1q50s+lCRJTdTlfPAvaVJs2cQ B1fWOWIp7dQ/fJiRVnBq/LNVKQOVGE6NJXpJjZWRFhbkwVeHeQMUXkzh5YCQlbTaVp6n Jz4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bgk4JFkN; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k3si1542465qvw.187.2019.12.16.14.27.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:27:50 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bgk4JFkN; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igyqE-0007Ul-76 for patch@linaro.org; Mon, 16 Dec 2019 17:27:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37033) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybU-0005Vv-4R for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybT-0007YB-1a for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:35 -0500 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:44038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybS-0007X9-SW for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:34 -0500 Received: by mail-pg1-x543.google.com with SMTP id x7so4482009pgl.11 for ; Mon, 16 Dec 2019 14:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=Bgk4JFkNW+sJ/dz5ELiYElrTsrz3fFLExw3bBCromDd2/Y76ofUA+rClxFN10Hgd0h HR1srAVtO5XJ9h0rqIstfAn6QhMWq+wEJJdpFiV35kkcg2p5vLJISK3GPwRb8xmxR0Xq ZK0CbS3Ol5Ia7w528KtGnhRIlt70Bp+NHhVN3ROszjSzHThGRtbxRMVOJeoWXphryGTU 2sMR/cHEsJjul+yrYQoELeBBew1snWwY2zyoiUwBmiirfs3t8zjULI2sLg29ngxIqACc MNi+VgDZtE464SNL9pJYCyf+H87GO1C6OPdDyBSFeZvF09V7f161FYedOp6fhwvHD4v/ IKoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=cGfDVq6EjhEHy4zrfcI8825ZzWhaguAjY2KwOrhNa4EPjLF1d1U2aF8xID84cJ5+of e8HYHWuCRQ64leDpCAl0jsqrS0xFQQw3kpG+hkDEpYGZS0Cy3lBqkuwyVZLqquJjZTZj k/I1oD6mm4bdcqDbt69YxAZ9rT8yS0PhpikKLrdolUa7GHFyxzhmRhVK+iYyvtTzIB4P 5IJQKEZEVzfL+bGx/ABaOZG4A0r6aKhwKHvRrBuwe3TFK0uTz+M4BJzPevdwYJF6gm5X WzCxVmtpof5LX60NIwnwDR+yLgLfNhxlJFVQ5ri3d8bpmgxGyUMFCzL7CerUVXo+I4SV 3weQ== X-Gm-Message-State: APjAAAX2eYv21Mxf1l8T70ECOL0q4G8LZsat56pwuSQ1o93+ZCURPVoX eFEVzsCsNMy+wOkD19X2lp5ICTm3B2Y= X-Received: by 2002:a62:5202:: with SMTP id g2mr18486921pfb.43.1576534353739; Mon, 16 Dec 2019 14:12:33 -0800 (PST) Received: from localhost.localdomain ([2605:e000:c74f:dc00:6838:d2b2:17e2:8445]) by smtp.gmail.com with ESMTPSA id d6sm529767pjl.8.2019.12.16.14.12.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:33 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 21/28] target/unicore32: Remove MMU_MODE{0,1}_SUFFIX Date: Mon, 16 Dec 2019 12:11:51 -1000 Message-Id: <20191216221158.29572-22-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191216221158.29572-1-richard.henderson@linaro.org> References: <20191216221158.29572-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::543 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guan Xuetao Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Guan Xuetao Signed-off-by: Richard Henderson --- target/unicore32/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée diff --git a/target/unicore32/cpu.h b/target/unicore32/cpu.h index 50ed9dd99c..7a32e086ed 100644 --- a/target/unicore32/cpu.h +++ b/target/unicore32/cpu.h @@ -133,8 +133,6 @@ void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask) int uc32_cpu_signal_handler(int host_signum, void *pinfo, void *puc); /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index(CPUUniCore32State *env, bool ifetch) {