From patchwork Thu Dec 12 04:00:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181436 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp394153ile; Wed, 11 Dec 2019 20:12:25 -0800 (PST) X-Google-Smtp-Source: APXvYqw+WSRsHM/cFZw1HtlM4FUAf56OZsOS93OLIDSPsJ8+2pigVkWbym0FjiQ6jC10jHlHicD9 X-Received: by 2002:ae9:ef50:: with SMTP id d77mr6156796qkg.71.1576123945034; Wed, 11 Dec 2019 20:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576123945; cv=none; d=google.com; s=arc-20160816; b=jMWVoGsi83XxcbwQEBxaTF2rTghhZhGs5N66aByJu+se3tzDYjg/mjOtAaflG6cFDr BsjEe0fGIg9qkwrKGPodd69lgOA0/VrfkMKufQeombP7udrYuOn4vCjOuR3EM05bGy/r 5uq6avHikS8HJnwNEGYyxeUEW7/6nMbvT61QwUmNtGi6W4PF4pUDu1ZqBj0LxmQ5S12r usX7VhvcD5jNDJFmc+AyxU8v/NQRvO6aMtEkE9mQTJ+7708I6PTOb98YB6ZZ0XQI+ZwE NGjtYHAE8OnGUay6Yh71zI1cgY8SrRulEc33FGIhL0sh+VOO40EsbBjONZGcpt4kqsm5 OO8w== 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=gPciZ+6JkiqkdDAqkVYaOInq844UEX0ymOEbcdllAwNfVm7+usjNk6Up3er/IMGiRR RsTEVqCPfl8XG8u96sEtQPVT+cbTXG44qmuocn6/bOS6QyHNRDGCXea3OYt/XhvRaMS3 YT6H7/JJSj18AsKXinO74wNgBbJJpXi0ldeugtGxVDh9/+6p0cQP4gnAcLhAj4YqCC9k jMjuMr0xyUouNjjnNzzEP/2eriDWUmEU4D36uR2SQCxqTz6Rdlzd90vlbxMQcflOF7Hk C0vSqio9y3kGMugj1fpBamlsixWiUsQhCLqBY4yjByCvtRWFoM2LfBQ1SPFuAaErdvHi g+9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NRs1fkXA; 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 t3si2166954qta.29.2019.12.11.20.12.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2019 20:12:25 -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=NRs1fkXA; 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]:54074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFpw-0007rl-0U for patch@linaro.org; Wed, 11 Dec 2019 23:12:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49863) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFf6-0000zn-0z for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifFf0-0004KN-Ox for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:11 -0500 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:34368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifFf0-0004IA-Cg for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:06 -0500 Received: by mail-pg1-x541.google.com with SMTP id r11so446552pgf.1 for ; Wed, 11 Dec 2019 20:01:06 -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=NRs1fkXAlBlr8nhYcs2w+dG0kVzfnp0SDVQ24ZMNfJrCTKbVQWybTtRw4PEpKfgu8D VYIesiwvr+Sr/xnftlttJAJ7EhJgnVDHid+1slaP2oJA9gxEHpzd2nKL4lYtckrYERQo P9VmYzIhS3UNC9ZnotLDKxSigIQq4pDDJWBRVPGpceTHygxuryTZOefJxQR/jMSPY7q+ 2LJ8J0xO6YBImstvtj7mlKHnqCPfTdLcT4XxTHG2DtrYSSEXYnNcoVLma8Xf0PitCLg8 OAvEhh5Rk7WaIHKNapJ/v/EaPaSlWWckjW0uolMqb/jO1ssfWuHmi3AGNCGlWUzflt78 sbdw== 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=JQGtXQ0foLBxju6O5nPZmeY7nEaFCk2KKi3NDEA540uT353zziuqrnpGfn1nzxAKac 7Wkt3ovgC4Z+wbIat2K3Z3w1JNv8nmUU3GxYkBC/LH06MQg/JKCEAV4UwLrkAdfM3PbN s3uZsebvhAuVgxi2yPBshI8K7Qn9GeqyKE3RFHwh02Fe5DGCoyJspq8r8T//POpzDYGj Lf9o4gLRRoF0bIV1nUM38VNJ9RHLZhgx6ChiX60upwrn3t9rhX6vQbep35HM9z+EC8Hw OYAmkk/i+n44bn770jWQ/ibLNzKn8DHL7IdiikldxN7T0V5dv78IWMwawPnn/YPMOeAL i+LQ== X-Gm-Message-State: APjAAAVVZoGRi1Z5pFLmoXKdn4bVHP8qMJTp1AhmwqBNOPvBbQ/zxFlD oyfDbvue0cKaksgNPuXVCrXg4ItOzXM= X-Received: by 2002:a65:4506:: with SMTP id n6mr8287558pgq.105.1576123264992; Wed, 11 Dec 2019 20:01:04 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 20:01:04 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 19/28] target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX Date: Wed, 11 Dec 2019 20:00:30 -0800 Message-Id: <20191212040039.26546-20-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::541 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 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