From patchwork Mon Dec 16 22:11:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181816 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4937606ile; Mon, 16 Dec 2019 14:23:20 -0800 (PST) X-Google-Smtp-Source: APXvYqyJpSm1B8MWbPatCzfgW91IPZiuzP5lxPh5dQFtnIK3jJiunk8WQPIVjX4ZbsWtRu/RG5yo X-Received: by 2002:a0c:9c86:: with SMTP id i6mr1764542qvf.214.1576535000232; Mon, 16 Dec 2019 14:23:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535000; cv=none; d=google.com; s=arc-20160816; b=RJkcrEpI2C5inSDECshvsj21QvHqo8M6L8vLjRGYIbXLVTmsT5Z1+qpaSNGIsNSvZ4 nwtTaU08hfp+t3jiJyjKlTiCmIAIENgX742eN6XKhrKHzrOHgGuTGXwS6criPfH05q44 Xh6Mq5UpeoolPemS73YlQ3EjR5Fo7fruuxLIJmF/xU8B0s6+4kQ9UQIqG2h84hyPkvnz IOeYslQtHqMMFCdcThK3R/wRGBTanNrG1SWILxh3a5Fk8hEPJiQETjl7yXsi6iPRnlaV b+IFi1qWML5fuWu0L9g814qv3v7Ozv8LeGb+BhBKmvC1Zy7niaPfISpJ54cHkROAnC0h 7f6w== 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=ywIseiPjqJvH3CWY8/pVr57z5YPy7BfDXHEc/+9ytCA=; b=gGfIzyG3gGXv2VD3RnDnBzfej+xiF0NdoaFzMZQKLEQFHkx/1ldY8L05/tz5cnN+qH xVDlLgq3abmQ7oU8O7f7AFKTKu1qcDH3tXE06bX3vO0r1SgRNpgTgGWFabb+pVLFxJmu skRi2UF6Co58Xo9LYShWUDXvCtal8vFbc0WqXC4DLREWj93B3jpsBBU+MaORPKqZ4kKL OnOGPaP28guY02sIR7kf+AFDnQq1780al/RKaMUvK/NAkoCbaqJ8BZpprOqC+ruIjLcD uvitQrV+00fgxECZ34zt1y9QrxKd6gwz0WGWB3MdT7IBg80dG8YTW/gwpQ6+WITSyscT fofQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sxhIcXsO; 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 v2si10502761qtk.273.2019.12.16.14.23.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:23:20 -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=sxhIcXsO; 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]:60844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igylr-00028t-Ck for patch@linaro.org; Mon, 16 Dec 2019 17:23:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36877) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybL-0005Fc-O5 for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybK-0007Jn-Gx for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:27 -0500 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:39470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybK-0007Ia-Bk for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:26 -0500 Received: by mail-pj1-x1042.google.com with SMTP id v93so3617202pjb.6 for ; Mon, 16 Dec 2019 14:12:26 -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=ywIseiPjqJvH3CWY8/pVr57z5YPy7BfDXHEc/+9ytCA=; b=sxhIcXsO1mDqVZ3f3lLseM6hZd8C8hvDkEk9QJWW8H4/7dW6VhtpqbSiGsg7YyeL0g bMIJSmd1I/dW3PorOBgri++JD93GQOxlmCupBZFnBXmSsLOCaQ95z2cH1EAGBy+LQ8IF RYx8CD6H0WZ7Ag4vHpuzKwu4zw5hbcbJQKWZFv0N844QA1XOAYg+tbuLWOro3tchXDVm b+/o4to59ZtVf3CMTXk/WFfOlNQKyP+zv1TpK/F0NIknpVrKdF/EnRsT1ZzMAYzxwIJU YxwYBhpjyF5GRqIbmlgW+5EjyILpk/QWpCEfZ2Kbnk0HsJz9To9leiyTch/9Pd3qIOMb CnQg== 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=ywIseiPjqJvH3CWY8/pVr57z5YPy7BfDXHEc/+9ytCA=; b=BUFNHncqRtd0+ejglq1g7tJPSgOxOGxAIv1bUrjkAnKAFIczOBh1fe/KTwp/IARUdh EzEM7wkinyHbV1DW2DH/XOIXD4W2UxMwkYP2AH9pS+nThWascun3DSzQ44Gj6indN6Jp TY5Mu6ajtcuZsH20NOkwxwEvtq7SbbqZMDtFjeS1EC6/AOvvmq7pWvFlMaxe9oRsPXwQ dVkKc0d4E5h/04Qdn/7V/il4iyUF2X7iw0pd7p7+Z2ejdLRW8dPiBJSpdPPguBsftV+0 nSew+fMoZ9JcB18a92bWTOr8HyjDrrU5MTW8QNoO1+1Tw3NpZQs+cZAicF/PnRuy6FXT 8elQ== X-Gm-Message-State: APjAAAVbWx5ID0ydTj2A0LdZ79y68ZL+D75QuDgRSEHCtF7tFTdk92Kq 5PnYRDeiSubTHCH/y8wdo9xYxBFvmNo= X-Received: by 2002:a17:902:9a42:: with SMTP id x2mr18533066plv.202.1576534345055; Mon, 16 Dec 2019 14:12:25 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:24 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 15/28] target/nios2: Remove MMU_MODE{0,1}_SUFFIX Date: Mon, 16 Dec 2019 12:11:45 -1000 Message-Id: <20191216221158.29572-16-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::1042 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: Marek Vasut , Chris Wulff Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Chris Wulff Cc: Marek Vasut Signed-off-by: Richard Henderson --- target/nios2/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 361b06ffeb..78f633f970 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -217,8 +217,6 @@ void do_nios2_semihosting(CPUNios2State *env); #define CPU_SAVE_VERSION 1 /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_SUPERVISOR_IDX 0 #define MMU_USER_IDX 1