From patchwork Mon Dec 16 22:11:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181809 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4932190ile; Mon, 16 Dec 2019 14:18:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwwxa82mSYRYO6jSXaBkwnWZmrT6xSqcwWG4iX+h4vbg8B/hmboaRXtXqgkCx1/osI0uakM X-Received: by 2002:a05:6830:1d6a:: with SMTP id l10mr35420226oti.233.1576534698980; Mon, 16 Dec 2019 14:18:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576534698; cv=none; d=google.com; s=arc-20160816; b=kwnvTzypwFlHUOOBvpzZqflNc2+ebiFcAhmC6Qd6sMCdSEYuuzNi1/QqIYCOHDySyq y84FbUFXxeouPxuydhETRlEfUg8lHM7tg1RvT9OvINPs8YWVPhtOfF4WvyC/OraHNlEo ihBZp7vcF6x3KQwNIbz/v8OOTvSXZ63VBpyuv65irldH7977y/lUnSGmVyfs4PkMiEna Yelt67a/zfwPYp0Tn+3oORLYL4b/HhgVGPiBZi9qDK+NQUysypvCEUCZ7/KAD2p2T5+o v6q5iGbF0RT/MKPC9kz7Qj4EIIR6ioEfsHBvE0qneCdBFzThN83Qm7R1oMyhndDidnYF tJTQ== 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=RdINugPS7BTi3ugzwRFiwRgkZkC17AvAn9JuWLfSCDM=; b=A9UGOBMFPSQxWzy6bqcqtnuGa1orIuKwKFVPgs9eSccvRN3srudQ8oiKlwUGWldGLo UaONmoan7wRVcLDnsBpVZ+so+a2kkGukoXw72fexEqG4jQ+4lJInyeYV5PyISZeCdiBe EYUOaZH9p8qPbCPdbOWn3ck9uE8rCpgx5TNLKBJmhZ7OLaWkuhh1XZtIlYW2uO0Su+KP BqnHu6my1TUaz+02iUYtQN4uDFAs0DJCS83bFy2SAGphf1IIxwGKJOK1O1X/d5MCkfc2 65Nt1RXQrjzsWC9ub6qsSZpTGrspaS/FYzV9bn0bAM0MTFyZTFAyRPbXYhOYZG1YavOG WFDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MDkQ1wQI; 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 t185si11244093oib.39.2019.12.16.14.18.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:18:18 -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=MDkQ1wQI; 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]:60734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igygz-0003oC-MH for patch@linaro.org; Mon, 16 Dec 2019 17:18:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37059) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybV-0005Xw-Bn for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybU-0007cc-DI for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:37 -0500 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:33964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybU-0007au-7z for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:36 -0500 Received: by mail-pf1-x442.google.com with SMTP id l127so4589840pfl.1 for ; Mon, 16 Dec 2019 14:12:36 -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=RdINugPS7BTi3ugzwRFiwRgkZkC17AvAn9JuWLfSCDM=; b=MDkQ1wQI5owBVSezTGfopmtJhXbnUJ9OuAadvRmCVwh+wextdJo8GNsAcBndYW2f44 GbPwTcrYLSDNpv7A3gLSxMntvrCKNWoF/y8uAuWKAV0DEZOBcVro30qQQhkd7F+SLHJQ wmZlhmMjkAqIYGMqZhvzn8rvNLqhhkAZPdFm2md616jmnsHBhPM0isCp4jBWHQsATyif vRw2jS71Lm3Tw+Y29ze1sxt0dCOqNfSD7O56ghaLB9eEylP2phCXak4aY8nJe9yIZmH7 pWZxfh7uIk5RDGrJt7Kv3vzFNXimifGKG05bnur/NdQYrH3qjXRlC9Jjcf2FqDglhSc4 kbnQ== 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=RdINugPS7BTi3ugzwRFiwRgkZkC17AvAn9JuWLfSCDM=; b=UdsYlHZCHX6D90k9npZggdkZYTqkA2dIilcMflTRNrjWEcijjcGYixQDdnMgNKwiqd RF8vQoG8ofj+fdGfTRPG/51LTHewewD/DpcRGntzzBPm3QNLNEoYibakb/7jVAxOJE1s 8VMCDxXYL+TmxULrSFJ29Cvi8OSPiSieVsMhxieKuFB2EHQX+s+NnAYfqNBgHC5K+Ohr hmTjz7p4sRdiJk3Fm/ryxmTl1jz4WNZ5+ynsAXopjWFS9LYQJu7Q1pFWxLiFm5Qfpd6c 4SjF3CpmWQaL6SwtinPcHSeC7xRWJJqjgcQ/BCqn1JvYRQjBsU6Or82+UNZO8v5i067o oBPg== X-Gm-Message-State: APjAAAXuFrGz9A5m8Q6ghQqxThrFRyXOxUGn3/swpcJjZJCrEz73xWms Jag1oF/8em8d5u5CMCJJDnFB8eqjQBg= X-Received: by 2002:a62:16d1:: with SMTP id 200mr18736289pfw.235.1576534355142; Mon, 16 Dec 2019 14:12:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:34 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 22/28] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX Date: Mon, 16 Dec 2019 12:11:52 -1000 Message-Id: <20191216221158.29572-23-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::442 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: Max Filippov Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Acked-by: Max Filippov Signed-off-by: Richard Henderson --- target/xtensa/cpu.h | 4 ---- 1 file changed, 4 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index b363ffcf10..f5a7ea48bb 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -685,10 +685,6 @@ static inline uint32_t xtensa_replicate_windowstart(CPUXtensaState *env) } /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _ring0 -#define MMU_MODE1_SUFFIX _ring1 -#define MMU_MODE2_SUFFIX _ring2 -#define MMU_MODE3_SUFFIX _ring3 #define MMU_USER_IDX 3 static inline int cpu_mmu_index(CPUXtensaState *env, bool ifetch)