From patchwork Sat Dec 28 23:11:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 182514 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp4646409ild; Sat, 28 Dec 2019 15:21:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwUqNmPIn5E+izc1XJ25V9cFekiSADMy+d0oJ71mllNH49O7JKqkqAdSc7/lkT4e/TAk+xE X-Received: by 2002:a9d:7342:: with SMTP id l2mr65619159otk.98.1577575287622; Sat, 28 Dec 2019 15:21:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577575287; cv=none; d=google.com; s=arc-20160816; b=SGm7/fDECmI6x8skjWyVC9mI4AN7osKgtBC36llnqBpCh28Zpu0kDOeNxr75jJVXWw srY9k2L+nghUAcOMOq7HFiKoTo4qWDFvivHcvgSKG8zaFU12fY8n8oaX8q78I2NZ80FH DUIrEf1XdH+2jxoGTAtnezg+z40cj7LfOAmKlf+QkiOHXSl3HL8imxsKj3rp8vSzuxNh 63zX21d811QlZZbx3DuAzAGmp+qTyQYXdOuRQkNrNh1STyRMi6aR6D+JsLOXi9QH766J m3K/vK/Wlf6tD7VoUmAq6AeUvUUAomZgKrtHgYr7m7PCle26/avhJWqN3a7uI55LSr0+ 5jMQ== 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=lItfuMC+44mOHKIMDg46S+jTWfWeuHiIELhnH02jZNM=; b=AHBLps76D+2ILNOsWjr6BIjIeUa05lqMf5Lpf/ssfrLIXFH3eEnH07SjjfoLhyMlks MgX4yICYzWdQ/jjdxItvvKnXEV5BmUV525mibQAxrHN+NqxQpt/cqWev7nASSKxO84hR zqt435ZOBkrTfIH1ye/806+37Rt4gjkv9V9JOZfoMOh8Nl4n+L3rm4BznZJg7/yrrMQk 7iacQ2p1zZBuSkjyGzpewg/nb3uWP/zNR7MZJthlfcFnsHQscOErDUDUXigonEtTClGK o2GLMl9MAOgV4A9oS3nTG0BWim71C6XZrxIzgSMc9m2/bvDpesX1PFmHwSeW2AwnT7UG PsLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FfLv4Yto; 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 s13si12174852otd.186.2019.12.28.15.21.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Dec 2019 15:21:27 -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=FfLv4Yto; 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]:47368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLOg-0007Su-B9 for patch@linaro.org; Sat, 28 Dec 2019 18:21:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42287) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilLGA-0005dB-L7 for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilLG9-0000Ko-MI for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:38 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:37382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilLG9-0000HL-FQ for qemu-devel@nongnu.org; Sat, 28 Dec 2019 18:12:37 -0500 Received: by mail-pl1-x644.google.com with SMTP id c23so13202440plz.4 for ; Sat, 28 Dec 2019 15:12:37 -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=lItfuMC+44mOHKIMDg46S+jTWfWeuHiIELhnH02jZNM=; b=FfLv4YtosmjEWcdwjsAJVCTUQsL5sYfcdqOaZ8fZArdbwXNkT99TdL/bKd3Kr175yA igrXF+RDnM/NX3FWX9GEFMQmtPK2tj3z5VoxcLll7dT12lKtZCsXNw9Zq5Zx3XcPZAXP gN6duYJMTdT0UdxGKN/JwnHNxm7teV7dRAC7aq6MJQHU3a6DlU3hEkJvnSjXpSdtZQWv KsnvwlHuSuunNWJyeOEVi4QXo9LzbK2UTv0xe6skIBfESwKWaQwXyjfX8bbE251n2FGF 65KWXB2vF022Z+hYPek9DUngz7XEvvh9Kng0L/+kNEuoT5OBDJkNzGeIg00rVc3bTwCr +UjA== 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=lItfuMC+44mOHKIMDg46S+jTWfWeuHiIELhnH02jZNM=; b=o2gj6Lrvy+qE16zQEpL2WchrTmzRXUSyCD50rLnJzhkm5rZtgt+XRk0NkSzC3Z47M3 Oc0M8jZyt7asbOGyWGnAFhaWRf7I/Nlvx1A2XOv1adm3PDM+l9GoMv53X+W5qshqESRI RwaIKqxq2/4l4exrajTWopoY7sQHNlKQ0pJpZRbh9cm0unzz4ioqiGa6Y5XBfIekG281 d0PQgfaR2zDs5HTbSWdSzK87BxE0eOQvOnbew4EV1rKD8yU1eT1qoG3qD/fcfpp07ZRG YwOgCpKrmMfnqPaDLvf/OlxvXkEu+4MZTlsL0OgIP3J31ej7vM8kr3BoGmG6Ywez36TP yj1Q== X-Gm-Message-State: APjAAAXg5FY7t2m9Bl3X0Nibd1lAzMKp1ZzL5HrQUjl0mDjTvIXMZNb3 KSoZ33J6HtIJY/FMSyUEPhv3kKujUX0= X-Received: by 2002:a17:902:bc8c:: with SMTP id bb12mr44330431plb.218.1577574756033; Sat, 28 Dec 2019 15:12:36 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 15:12:35 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 22/29] target/unicore32: Remove MMU_MODE{0,1}_SUFFIX Date: Sun, 29 Dec 2019 10:11:17 +1100 Message-Id: <20191228231124.18307-23-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::644 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: Guan Xuetao , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Guan Xuetao Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- target/unicore32/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 diff --git a/target/unicore32/cpu.h b/target/unicore32/cpu.h index 50ed9dd99c..7a32e086ed 100644 --- a/target/unicore32/cpu.h +++ b/target/unicore32/cpu.h @@ -133,8 +133,6 @@ void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask) int uc32_cpu_signal_handler(int host_signum, void *pinfo, void *puc); /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index(CPUUniCore32State *env, bool ifetch) {