From patchwork Sat Dec 28 23:11:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 182521 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp4650982ild; Sat, 28 Dec 2019 15:27:54 -0800 (PST) X-Google-Smtp-Source: APXvYqy7Wi6QjE+a1ODuWWDP7YGHbRZbQnuHYhbaXAEHVpt9rLI0rWxp7Sm03sUC/sv6L4XPmH2k X-Received: by 2002:a9d:7e8a:: with SMTP id m10mr62070492otp.27.1577575674801; Sat, 28 Dec 2019 15:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577575674; cv=none; d=google.com; s=arc-20160816; b=r6FxBsNAmBwrENWj/y1z5/nGomgyZ58sXb+YMC0uCMJy768JbMtChMQmHmVUvYccER AKvK7J5r2lEj6w2hZvzhZCcUFtdSHhowcFE7YfGKsMJpPQpnRsfMr5wwWEPxzaikQvpx PdEQBev4b040DSMvKvyV/2F5mNrzNFT8IIqfkWF325OT1mueAvkOjJcxaadXDBoroJjK PFZ9zCbc6wRgLlldu6lG3BJD2LkyW8jKtXte3hulA7RPHVL1E075DI/GebHUV1kocIlf 5TKgmyQ5cnO9ZmjgqJRr4mnrI6WhoLA3MIZ59Uv49IoYL7N2cWaTmgwjGJqwjgUePfMX 92Hw== 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=YdXEJZRP1IFp2O0duDOqWUbcJqfKg7Q1OugwBf6nt/k=; b=nbUbyt0zlYhVZqL6jVk4V8lwjrUrvujNTxIuuh7u27RcluV54JpNJyKHcdh0CoqGM8 ESyMqsgJwmtr7zB51B6sbMwvaLbhrH+LvZr3WdjXWmmh3OxjtfKFzQB7iUIyxDGCRMIn edLau8sCR9jtJ2H7+1jkUa+7q1hWaCu3RxjHDqM/RAWuEuFpyBzKzjX0+ld9wh5nwTg0 nsbbPT6p3OnQOpBd2ZWAEzjx2XJeDX6CWUnj/ojoVl+07F3n0pl6M8LM0E0hFVyNt2/e XuRfwbG65LSFgXSG9nxW7smzA0fqnhkXYxZh2YXkJ4bXHS1rIuE1ricEKdy/Dfj1xPVs fsXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=t1ZCVm39; 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=fail (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 w23si20101719oti.39.2019.12.28.15.27.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Dec 2019 15:27:54 -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=fail header.i=@linaro.org header.s=google header.b=t1ZCVm39; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLUv-0008OR-Tj for patch@linaro.org; Sat, 28 Dec 2019 18:27:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42175) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLG7-0005ac-LY for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilLG6-00006W-Iw for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:35 -0500 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:50337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilLG6-0008Uf-AQ for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:34 -0500 Received: by mail-pj1-x1043.google.com with SMTP id r67so6313399pjb.0 for ; Sat, 28 Dec 2019 15: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=YdXEJZRP1IFp2O0duDOqWUbcJqfKg7Q1OugwBf6nt/k=; b=t1ZCVm39F1TsyYG8sRXZ3aeX+iyx5BTRE8oGn9RC7rtEl7XNvT+K+V5zM5I9XQprKU RL7okSD9wZO83LP0LATHuxkSoKScSQOJ8J+BpdobG0stNrHMAt3EmQJCax/QBJoks6+T GJNgXaKBJ0w8E/JJbUj9xz5wtb44Q9rZQvLMMOdy7Jk+8g7srsYDwPVB7xm4BdbWxX0T moqlt4FztbAjdpjHBuC6j8MeoxbeGP0rJp9XHH+NyTngMK5/P4ZyhIDBoNbqV+lCewhk ivFW/J+8hzyLZiHY4JCVFZkeKB9V9Bh++sXmn2cibv/yNv0zkgpOIcZ1gAPr7oTsWpXL bEyw== 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=YdXEJZRP1IFp2O0duDOqWUbcJqfKg7Q1OugwBf6nt/k=; b=sB8IZ7zHh7CUQp7ixNrQ8YuEI5MEDD3eGwqRUUq+On0UrFqyyTuf5A8z1glwNCBC22 HA3EWek+h/1uYZNj+LhJj4lH+8ezfoAspKZzKvj+9dIZBRAYmFYYaxDqe8OCbKxwDy0q RwiWTfddy1nzAP6IND9eIevGB1PUMBc8CQLEu8QAeK2fBcfIfLExTzZ0U2rRA6rPn/j3 zYIPIeadIzjbOqpCiFxLCJKJPz4jxHy84BB+omEW5n47wMPNh2Oi+6rHngUR2qu13Jqs i4aQgj5aumFpheZW8lt0or3UOf9AX0q8rJuQK4J1b1zExyndcGWaRG4Aj+woLrDOALiN Q4Hg== X-Gm-Message-State: APjAAAU6hDBxbY/Kwv4T4z1nXJgMUve95gPHGt75kPD7fzFUi12N3+ao nVMsyeZSOPFDQh3UE/USFu5cBCqjMd0= X-Received: by 2002:a17:902:b08d:: with SMTP id p13mr60534411plr.109.1577574753090; Sat, 28 Dec 2019 15:12:33 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 15:12:32 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 21/29] target/sh4: Remove MMU_MODE{0,1}_SUFFIX Date: Sun, 29 Dec 2019 10:11:16 +1100 Message-Id: <20191228231124.18307-22-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::1043 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_Benn=C3=A9e?= , 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 Reviewed-by: Alex Bennée 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) {