From nobody Thu Dec 18 22:26:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1578456273; cv=none; d=zohomail.com; s=zohoarc; b=biPOF8ptT5bN7D2aYpwJK1C4cvubTHSnjE+H1/CmUL00eBaJQXBXyVvUjqLH9ceQ4JVtuIDAvh0Yrydvd0I9TWwnsmCF0KnJUBXu17P95RzxFyNHNu0dvHgUxZFEX6M8FPWsE3WtRW/KP9Zy8RBtnqqrIbU8+GdrgO2kh5HDfAE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578456273; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TWAsBzCoriAb7ux23wFGxM2iykLABej28qb4JsXtnPw=; b=Kc9TYVLm8f0hPbYTDfA8rl2qThmcHE8XDWrohjCH0Kt/ACM4jhFaq4Ne9GGf5Z+3xHfiX4XcN14obTRPeIOWIu4xn/g+eur3yjBWHWGqrp3x2BuG/CAM1WQVJUjLl6AFoSnTW6A1ViQiDonigrVjFMEtjDMRT39xrF0ZYKhabWo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 157845627303637.33055832437378; Tue, 7 Jan 2020 20:04:33 -0800 (PST) Received: from localhost ([::1]:35518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip2a7-0003Ze-J8 for importer@patchew.org; Tue, 07 Jan 2020 23:04:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49980) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip2JF-000597-0o for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip2JD-0003vW-Qt for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:04 -0500 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:53597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip2JD-0003uI-L8 for qemu-devel@nongnu.org; Tue, 07 Jan 2020 22:47:03 -0500 Received: by mail-pj1-x1031.google.com with SMTP id n96so464410pjc.3 for ; Tue, 07 Jan 2020 19:47:03 -0800 (PST) Received: from localhost.localdomain (alanje.lnk.telstra.net. [120.151.179.201]) by smtp.gmail.com with ESMTPSA id f23sm1198433pgj.76.2020.01.07.19.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 19:47:01 -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=TWAsBzCoriAb7ux23wFGxM2iykLABej28qb4JsXtnPw=; b=es1Odej8Obq31DnMppCRcmBbsH3VFXrFT4yBboUbcmVtm4P4jOsV2lGcazE9TOxREg NLoyaDakddaOtP+2uQNMqjzkIifPN+uaLxzMYXR0MzEC636zvIpOkADVRa4XF4FvqiZy wRIAXglhQW8lSiUAoT+PBfufNK/NAUz5eLYVfN7x1/yoCnKkVOYxj40Eisjhit1+KBIn d9//ImK2t4KrLWPs1WVOH+A2A8i2UZdUfTPLnf70/4AGQocNR6umW8NXnbB/l7DmMdFH 53riYClWcWEEngBRbSpSDfkZlbur/4rj/I3zBVkZzQAEMPQKn7OMFJaF+RpTZDcrFjHt raaA== 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=TWAsBzCoriAb7ux23wFGxM2iykLABej28qb4JsXtnPw=; b=l2QLCCyNvlLWhSftFvUUXS1gv7Dh5Z3zTbcSMBMe9x6VFZPO7+WLKQ0y37RMt4YHAk ciStV33Iwv4xZCGt+UNkTo5S9zhy+/gDzCP25AWq9s0YnGrR502oW2kSm6rcEUmJLV6P lgVdYdyGYvJyERWQpsOgw64B9p1J/JG1U08FDtnR6dBi+XTDFNTR78fEv5Q+rFcx6Ps6 zVH448Du759ER02Z0m+Uu+xvuL+CgjdZrvhY5VSMbj5KhsVzoKs7SrsDWciKotzYLunn Rmvq/AgAfllrFKiUwLTqzXoKhJy+vpEkqZpTS+qLh/7oWjTdt+nWGUwNALjybDqaQtDU 6CJw== X-Gm-Message-State: APjAAAW9XtepfzAFD8KEcyWBhwMWG1GnLFPFcmcJ2nRy/EABIprbNa6F uCxX0+BMgtXpWO83/BYXveHu63XrW4RlkQ== X-Google-Smtp-Source: APXvYqwXGBVuhCRsYPfNb73TvOPL8Y2/3ZDCaJ57+UcawIUUGl91S4frs01TYR9WbM2SMipjPWfWSA== X-Received: by 2002:a17:90a:d807:: with SMTP id a7mr2185325pjv.15.1578455222365; Tue, 07 Jan 2020 19:47:02 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 30/41] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX Date: Wed, 8 Jan 2020 14:45:12 +1100 Message-Id: <20200108034523.17349-31-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200108034523.17349-1-richard.henderson@linaro.org> References: <20200108034523.17349-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1031 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Max Filippov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The functions generated by these macros are unused. Tested-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Max Filippov Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Richard Henderson --- target/xtensa/cpu.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index 75e65df597..493f4fc80c 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -689,10 +689,6 @@ static inline uint32_t xtensa_replicate_windowstart(CP= UXtensaState *env) } =20 /* 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 =20 static inline int cpu_mmu_index(CPUXtensaState *env, bool ifetch) --=20 2.20.1