From patchwork Mon Dec 16 22:11:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181824 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4944588ile; Mon, 16 Dec 2019 14:30:00 -0800 (PST) X-Google-Smtp-Source: APXvYqync+Zt/8kUrcwcl62FjFElAUsVZLd82lXwuoI/uTT6wlnrZyArbRMwhSVAjAV9pDAebdWC X-Received: by 2002:a05:620a:8cc:: with SMTP id z12mr1799366qkz.48.1576535400255; Mon, 16 Dec 2019 14:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535400; cv=none; d=google.com; s=arc-20160816; b=x0zanUb3j9+Ue72qOhnfplmWkkPmHc4KWGBmaFlqps4ZpeEFGyN/6HfNXLptoJ+frJ Q/T65+C8WLPl2yyEun8kQoVBWMNK3Wl4JEjHmr7KO3MMGqFFPtaiSEF+lzWp/tARhina 7Ql8joFtsFHovicCST56Jpl4Ze+srD305YOautsNqFI+owpo7dr2QBCgx0hdm4sR9xQz 08jIVbDEeCN2+iSMon6QSoiAsP+A7npWnGhKdBRZaxrG+cJGjJM+Kg7VX19uarkK9Tsp uNlY1wCU1MlTJj6e0W1CkEhRnAB/4F7ZGsnXmdUBh/ULzHTrlW01qAkJ9sw+bcSI0K9Z CdFg== 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=1+xmXAmgTNTTPDSwdxL19l0lBXnRZdS0RxSiPt4HA6M=; b=DHfbdKznhXO/+UAayyG0YBLjoPXkKtA7rlzJn0PLgdNu7ii9LCmxieN9g7nC5lm7XW /smmg+rxDURR54P900tRLZRa521BPC9JOf7XXc1OlQl+fWo+rTiGApE+ZqQoq0/6H8kp wBoP+sj8+ibcMVhv6Vyshj/RqNY1VWvqXgTgD8GiDrzDx041jgHpnCJ2t3iq3Qf+L7T3 TQyS4IIDAWbd2sDeIESUlSFe/FDLdvSLNOZM9sK45c6a9wMxPs9VwlnSoyX6XY8j/wMO XlnBcdqkio2YjDsTQLOlMGOJrGumNGdeTHg155ADHVfQX8txKmqVY+K9fsQIX5Ir96b0 164A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ss2wj+1Z; 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 20si4659097qvi.191.2019.12.16.14.30.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:30:00 -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=ss2wj+1Z; 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]:60978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igysJ-0001tF-O0 for patch@linaro.org; Mon, 16 Dec 2019 17:29:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36983) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybR-0005Ov-9X for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybQ-0007Sd-9P for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:33 -0500 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:39014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybQ-0007Qh-3y for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:32 -0500 Received: by mail-pf1-x443.google.com with SMTP id 2so6376934pfx.6 for ; Mon, 16 Dec 2019 14:12:32 -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=1+xmXAmgTNTTPDSwdxL19l0lBXnRZdS0RxSiPt4HA6M=; b=ss2wj+1Z8IZ3MbqKwyMdrJDLtgPuMGuFfIFI2TidxBZr/ukpUfS49i2qJmmvUYs8ot Ym6CQwq4PXl1k6+cQrd+EeneimIuOzCrs4ChgYtVg7xEZRi0liy0ftvBdVk4tHANgb5d CQn8H/tyyC29FLY+DWOsWj5MszdxHwuzN8ldEtTcJoGgmoFRwPOKAkfIh7VGUptwNEWd YiMFeiROydklUhKhuLQj2x7lXmEK06RckDzmYS6sGeGhGJRGbNzfWdja4N33lWj4P0Pk QgJ9TAbJ0EmHBNMiUOunSUAGjX54IWhBv0F+R1+wIuoL8FRMKIYRCKsQvvppXG5s9fb9 3F/A== 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=1+xmXAmgTNTTPDSwdxL19l0lBXnRZdS0RxSiPt4HA6M=; b=RVAY+CLdqxbH3CCF8OEuJtx4gKHItl23NxBrnWz6CvjuaViaxSIkxNj3YL1rqrsdCn ua7qyk+0YgVbbxn5fFtQl5lM/ICSLjfGG3Nc60LOncz43YW9Dd5C/eBfWuPs9qKTX+Gk I6mTa24459JsU3uOa4F+L23Thv9kcLop1Qnn5LeOsEG65EBQOs+spw98jdrHi9Uw1CPO LeDi1o4x/d81RY7TMSGOpUMtYNqZDsfittuw3qozriIW+wBMY4Qf7aYdnva1cb3BJi/Z FWazVhd6QlmGlKFeolwFP0eQlAB2WqonzYbJ5wvap9iiuXXGjwmPHm66EgypTPf5BP37 S0gw== X-Gm-Message-State: APjAAAWQRGe45yZfrMItWqGN8TkcyHpkwVy+Mv8K4C+VZFimHqRb7IW1 wkWIsJuO2Q1nJPcoQMue2PFd7GzNZOw= X-Received: by 2002:a63:541e:: with SMTP id i30mr20553662pgb.183.1576534350881; Mon, 16 Dec 2019 14:12:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:30 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 19/28] target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX Date: Mon, 16 Dec 2019 12:11:49 -1000 Message-Id: <20191216221158.29572-20-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::443 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" 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 Signed-off-by: Richard Henderson --- target/microblaze/cpu.h | 3 --- 1 file changed, 3 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 95773089aa..32522f606b 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -328,9 +328,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo, #define cpu_signal_handler cpu_mb_signal_handler /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _nommu -#define MMU_MODE1_SUFFIX _kernel -#define MMU_MODE2_SUFFIX _user #define MMU_NOMMU_IDX 0 #define MMU_KERNEL_IDX 1 #define MMU_USER_IDX 2