From patchwork Sat Dec 28 23:11:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 182510 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp4644256ild; Sat, 28 Dec 2019 15:18:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzUeCq9+1tU6IisDljzU7aOdvJzZmuDIPMOp9Sh4U8kj8FdvjCPAgjimHrfjxnaN+yjNQog X-Received: by 2002:ac8:41c1:: with SMTP id o1mr28975937qtm.229.1577575112677; Sat, 28 Dec 2019 15:18:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577575112; cv=none; d=google.com; s=arc-20160816; b=0zv4aSkhLpcFN9xxKClCSH1E74FrkhRiJEjSfR3tVobLCW9XT93tFdSl1p2g+bO+kj MmBS+M7bnXlDK4VQkDdh0/eKx8SPjqwfhMT7CVeF08gRtXNcfr9HxNsbL/wawqAfnaPM +6C6yCHH5PIzMA3lK5B/+MNb4Cqd0NCEUTHKIynkcCf9Nermq/cSLywAYdQuYchee5pg x/5Tkhm/l720DuxlU3mOwGYnBsnjh+tZLvf7sXHB/+clIXLieauKvLy2cOIrYY/115jI NWXQnoRjXc73Maif0dtkpCABMdv5yUYBzPGtAypgx0EWgaoPkUg2eqj5DbzIjCaOXysz dA+A== 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=RE7ec3tQf69S6u/1sbXcwZ3prYFhHBLumgiHfSGx76I=; b=onqLMSC8NQ4U6eAT3H6my3W0nHB3fIthIuWa7WPQ8IiVWPl7/d/ist7gHgWnTcKrIH THU+GaRYop9oEenGU0m0sCUq8NK6x0bplp5IC+jI6/iNXy7C1syloBBcvNL+NOft4lRz p+eaXZYsLfWSxTDIxNKrAIlVmhMzlUnmxe8gr8RXpVAr9cktDLi9sW9Lt+sXnykrO6GX zYFalUHoowx4SoS8gAl9Cx5ipF0dvm9ykovvryfIGI90aJYs1Jwc0cUCptwHaq9QTAWD cZZQxRfgs+6fNOuQSfzgCUwVjZYX6MwR7zwP0M1HxNaVnsJf3E5SzvWxbTzrTm+ypxWA xmzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j2nNpB8P; 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 f3si16124380qka.362.2019.12.28.15.18.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Dec 2019 15:18:32 -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=j2nNpB8P; 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]:47306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLLr-0003wT-Ls for patch@linaro.org; Sat, 28 Dec 2019 18:18:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLFy-0005Md-Tn for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilLFx-0007nI-Tq for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:26 -0500 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:37380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilLFx-0007js-Nw for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:25 -0500 Received: by mail-pl1-x643.google.com with SMTP id c23so13202330plz.4 for ; Sat, 28 Dec 2019 15:12:25 -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=RE7ec3tQf69S6u/1sbXcwZ3prYFhHBLumgiHfSGx76I=; b=j2nNpB8PfmKj9UkpQ5d/F6lWTCiErIHYw3MpigY+9/gkCuFxZpx3m25mcZw7nGuyf+ i04ugRzul7E/+ot+1HPjdKCTGSY1Buefi+ujTDDH/HXatZcT2DQzfwRpvLVpiW+fDrPF MpkgrmtmWGHc5p4dadeXf/CCCa55y5Ck1/g05Td03jhcWkHZkBr5ae1cXeQDUQeTuu7d 1G8D5H4gp0CBXaNwvfmqGcXU0EKZBILc2lkJIi7uxjNdj/BI6/gwtJDvh4xsHnHx5E79 UDMsLlEverpZZqKqzEoUmSLrR/4qcq7bmAJe7wxakgFM02Q3SA+LqUK5errkSl8m48uy Y6hg== 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=RE7ec3tQf69S6u/1sbXcwZ3prYFhHBLumgiHfSGx76I=; b=HejH0oO8ielsNxudES93m5HXQtmRqQTI/ZscyaS+hOkYADshBpwwSSh66T9qaHxXwk PSUXlB1wv0J1Qbpsu0Sz9M7IhmoHJY6+vsN/vk9/seTTDit19vOXcBuaRi5swH0F8YG/ 0QflWSVJHJg2AHEzY+d3ZCwyxSNfqDdUKhSeUHTjh90cEwEuov3R+xwL6vdaCroEf+y2 qnFP6DUpknUKjZjTPguRgOcpFlEaDP3QBjjqq1Vv17zBjyNkGocuMvvDuJZOpqMp2vcK OMAxN3gqlUqV5z4pXTeTArWJElqnFROlLuUnrnHdWqq44Y7Rk+4xExqNmRQTVyxGC/LV Fe3w== X-Gm-Message-State: APjAAAXM+ENNC2eeaFfgILLO3C4MoBZAaGy0K8cOzCnfXYQN9IImJp/1 k9Xpv8JMroM1Vc3I+hxKOMWO5wAsBDo= X-Received: by 2002:a17:90a:da01:: with SMTP id e1mr36375757pjv.29.1577574744553; Sat, 28 Dec 2019 15:12:24 -0800 (PST) Received: from localhost.localdomain (194-223-58-9.tpgi.com.au. [194.223.58.9]) by smtp.gmail.com with ESMTPSA id c18sm21077186pfr.40.2019.12.28.15.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 15:12:23 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 18/29] target/cris: Remove MMU_MODE{0,1}_SUFFIX Date: Sun, 29 Dec 2019 10:11:13 +1100 Message-Id: <20191228231124.18307-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191228231124.18307-1-richard.henderson@linaro.org> References: <20191228231124.18307-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::643 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: "Edgar E . Iglesias" , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Edgar E. Iglesias Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- target/cris/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 diff --git a/target/cris/cpu.h b/target/cris/cpu.h index aba0a66474..bc43bc23a1 100644 --- a/target/cris/cpu.h +++ b/target/cris/cpu.h @@ -252,8 +252,6 @@ enum { #define cpu_signal_handler cpu_cris_signal_handler /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUCRISState *env, bool ifetch) {