From patchwork Thu Dec 12 04:00:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181440 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp398272ile; Wed, 11 Dec 2019 20:17:16 -0800 (PST) X-Google-Smtp-Source: APXvYqz49jyvc9ZrjdbqQe8XRSdQbeYMyHgnp5SE3jLe4ErcL/CrRufZo/FV2fm04boziqnKEqUZ X-Received: by 2002:a9d:7483:: with SMTP id t3mr5834649otk.262.1576124236722; Wed, 11 Dec 2019 20:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576124236; cv=none; d=google.com; s=arc-20160816; b=FyUaI1BaFdAX0F6YOmXZwlZFsKdgEBctVVL5dyuWIaKCCJHMAIsR9JIacLIDn70O2F +64RmgyPzF5WZhIVtAczucTewJSxcM0xC3N4bj97C/zMUbQbfSgzn+jwkkT57bNC8I0W MHr29LsNl022wDv+cdKn4gJZcpOrakbLe3qckk5wg4o6EPz4NeL0nsPPwnD/2/MhswyO 44zso8pj/AaTS0I0MEJqv7Hpj0Nso51p3GjJ+yWTbiLIUakIJhWOmtidpPTHF+lRi0Mf ED1eNNBlBWZQ0qzHiwZMkDzQsFpYH0TeKCACPRBB+Dzh0LDnPP2Oj/eUpAdCauBOtmR8 e8cQ== 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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=ycwpYctmyBSSR31moD0GK7bW+K/CnDbHjmbP4VDfQzItoQZjkOoTkmQlz6s5V7lG55 068luPJ/IyYCCo0HdXyjNrSmOupT5Xyxi5sP9QTTbP/qkZj9IpHaf+8RN+Pg1hwxpW+o l4/imxChXi2WGB35ZujiKIXDB26A9i2vb5k5Nr7jg2p68qHPKEbmPo24ruwb+XxXYQLY Xqt5E1tVJjNXUcLGeP9LfB0/POIsh6JBld03zK0aNYiqA4zxUnTFusq8is8s5FbqwzOO MCD0pkGXvQg4RtxQBsEh3Nvrpem9JAz+McP0Fx9hSO3E5OXdLKnC8jusGiHuAePVc2pE +TNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rZ5H+lA3; 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 s126si1620141oib.84.2019.12.11.20.17.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2019 20:17:16 -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=rZ5H+lA3; 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]:54178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFud-0005Mm-Uu for patch@linaro.org; Wed, 11 Dec 2019 23:17:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50125) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFf7-00011c-Aq for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifFf6-0004Ob-2J for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:13 -0500 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:39708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifFf1-0004Kz-KI for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:11 -0500 Received: by mail-pf1-x442.google.com with SMTP id 2so33576pfx.6 for ; Wed, 11 Dec 2019 20:01:07 -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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=rZ5H+lA3kapvBSWY7KT5uGguRo2GsFoq5lA2ejPx/tPfSoNGkvSIwzkMusFKOfUli7 /zOEltbX/tpRnmgRzeY0xiBGKcfk0tnNqE9QTgPhDsW15kK5wsZuqr065HDdeD2f7b93 xlSPw7lI1QKHwq3pPHw1EWKcEBjyf2xi1Ox1Eg1JeqKmWdR+a+6jXeq66laN46KBWlVc hyWIeSGKEZfR9sNBhU09RrtMLLQOstGE0WRfxJ3d5chhiFhIGlJDt64TQ7aXRvSdfcHa jR9RR/cwrzonsm46F1W2xRp/eBgx2QGKyXFQVX7dmZP76e/Qny2Y2Qu/LHVyuEs5DnfH 2rPw== 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=pZRCwuJZhFmLfLLVDEuLYlambcalO9LoW5IlxLfh4Nc=; b=S9iqYv2UoZ5hUhl8WN7hCwu0g/xC5GStxkI9aH8cMrApidXBAXAtNMaxuQXef4GUu0 VMJmJTUZM00+0b4C3XCjAbYMF6Qf7oMdmPSQTlvjG74Cd1u4uy8D5r9JJfchBJrsADrU POJY0K4atnyLTIgOGKzhLXRvmX+VQ38bgSxb/eGGkfF0g5A9xJMqJC7iJfzPGE8c4ZyJ H9dfOdbSE061ntt9JN0Jpk2rPhLh/fqIeeFkHN+Qh911gdqMKzs9deXL3sYEEi7GHstL vsCTzDghJAn8QW81Gmwcb/wcVaRuzM82NtQtchZsikj5N2EGf9oQazPHCrk0saYFFj1F NQrg== X-Gm-Message-State: APjAAAUZR1fOvUQIWEeYgvu0BlVBQFFriK2itgUND5A+J1zXtbxa4r36 6afYn0/xNI5AF7KAqTGlNNBrp/D0qRs= X-Received: by 2002:a63:ed48:: with SMTP id m8mr7986303pgk.399.1576123266252; Wed, 11 Dec 2019 20:01:06 -0800 (PST) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id z130sm4666391pgz.6.2019.12.11.20.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 20:01:05 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 20/28] target/sh4: Remove MMU_MODE{0,1}_SUFFIX Date: Wed, 11 Dec 2019 20:00:31 -0800 Message-Id: <20191212040039.26546-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191212040039.26546-1-richard.henderson@linaro.org> References: <20191212040039.26546-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: Aurelien Jarno Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Aurelien Jarno Signed-off-by: Richard Henderson --- target/sh4/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h index ecaa7a18a9..452a596e67 100644 --- a/target/sh4/cpu.h +++ b/target/sh4/cpu.h @@ -254,8 +254,6 @@ void cpu_load_tlb(CPUSH4State * env); #define cpu_list sh4_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch) {