From patchwork Mon Dec 16 22:11:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181822 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4942906ile; Mon, 16 Dec 2019 14:28:24 -0800 (PST) X-Google-Smtp-Source: APXvYqww5tB4jnabVvUr+YpmKlH7kDv7I/vJ2MNCcjHTKQXs1d2JpCGcjf7ImWUolXZZVi/KhgnS X-Received: by 2002:a05:620a:62c:: with SMTP id 12mr1909643qkv.154.1576535304444; Mon, 16 Dec 2019 14:28:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576535304; cv=none; d=google.com; s=arc-20160816; b=eW0y3HcibsLtD/PgZfaKoQuGltKQg1iZM+bgH6f/9ZqRNmoTCyu9rxH4XxGdrU2AN5 b26zumdywThzK2kBYC3/216TAWp6zJc15/fYLe1Z96AAcGMIaC/r4yezaEv1STcOVzVC PNh9OfOc9pkyr+Oaz5iHeXeRz69uenfstLlV9xYhTf5c0e4O6OcSGzdJxEKLfISkjx6H YtbUhhsPxIZkqxfh9jUioSsbPvLV/Y6+hUrC9O1/HX9h8Vme3zsu0Tc7BZVODBCRBFn/ ZlGfTVPlRg9+JhXgmyn3LqdbAcmm3xOQf6nrO2UQyfCV1lnKmrNT+hnGBT8Od4gHOK+C yTOA== 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=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=P05dty+prSRqhNShrzj32aAKWI626W1DzYdS1wsMXEWQsazEC260gZFPeL1zRwzyO2 yPiUwoW8STFVNFMBrN5j8rX13sOYDcfqWoDJLp5waDTDxkX2+YpOBncgcqriUFVzZN+T A1lW7aa3hdKZicLFUArykU6s6l7sEV8qtEZM570E9Tg+7JlGla4UFHiBNuOV78PbOF5t 4jhT914HFysPxKRnTZQvucZBVO+OHh0mRRTI//8Zli4qA/TqTa7NW+F16yHTS0Z3b4SU 6TV2ivk7+hh6JJ7tsqVIkgAKK8gS8HLS0Stm8RPB6Jwaejhy8nYR73tFBF9SbINQwYTs C9aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eq452F6Q; 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 i8si10119171qvo.141.2019.12.16.14.28.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Dec 2019 14:28:24 -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=Eq452F6Q; 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]:60954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igyql-0008Tv-Uw for patch@linaro.org; Mon, 16 Dec 2019 17:28:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36927) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igybO-0005Jz-BQ for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igybN-0007Mt-9v for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:30 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:42306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igybN-0007MW-4s for qemu-devel@nongnu.org; Mon, 16 Dec 2019 17:12:29 -0500 Received: by mail-pf1-x441.google.com with SMTP id 4so6369388pfz.9 for ; Mon, 16 Dec 2019 14:12:29 -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=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=Eq452F6QFJcMlAB8xMCNBHfJaYeilcHziFExSzehhnynRgmkLcQRSFmhq8/fDo6+QH xV7VFwuAkFDHegz+H3sNvosTQnDoMZVZ67uJL4AUR7NoI+3c6rJvs2BoPN36hIk8HZnq oANRhG7AqyApNppDuVmXWA+dcFu4u3WkAkLZIqvjZudE4eMd19AqhUvaqOSoltx34k2w 2JrKf5dF++dVddWOLrZjwc3SA28/uTLLbYmj9WIehpmkr+Aug3kkCeu7eUyThh4AEZOf qCqwDos91MJ66tgwHnW6XP18DJ1pb5ayuclPavrqHGFIwgJl9gEYqlJeYaPyr/YhP4Yh n04w== 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=s8SYA9/Rwv4ZxWRA0n9zn8WOO8ULkXoz56NCsZvZKnc=; b=jUS/1LYex/oud6S8YWjfjjQ8BsVAVfJ2vDGUGMjbAYJn72+ziJ14wETLFnIvPkh5HY giyvi9OMcxg49Knr8wQlNXiUtaCTNMBw7rVXIb1tSaOTCSsdQrn7osqUJLqoYiSZvYqY mFc4n2xFtuykfoSV9SV7Gu3/jLqbkpa5YTCY4+ta4P2uw7XaTxv2dHHAEjHjB1sV/2C1 PxwaH3aLkJ0wTQhXNuGCpQFLGd9zrumt5h6H4Z012QrKVTCU0/5eHFcjRCwLwBgqnZ7j c8Z3ewFq2wg4O6hqkWc80c12ob0lmatpSQQFBG0NiiofuhR2uUz1A9UI7jGdsDi76Gop Hcng== X-Gm-Message-State: APjAAAWoOqeVnGhTw2hFF0iyXPJStSN8iFF33kwWqBOfXhK3hXFUTm/4 nfEjBKaipi3THHJujfdGi6JfqYm9rGE= X-Received: by 2002:a63:f814:: with SMTP id n20mr20921854pgh.318.1576534347942; Mon, 16 Dec 2019 14:12:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 14:12:27 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 17/28] target/cris: Remove MMU_MODE{0,1}_SUFFIX Date: Mon, 16 Dec 2019 12:11:47 -1000 Message-Id: <20191216221158.29572-18-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::441 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/cris/cpu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 Reviewed-by: Alex Bennée diff --git a/target/cris/cpu.h b/target/cris/cpu.h index aba0a66474..bc43bc23a1 100644 --- a/target/cris/cpu.h +++ b/target/cris/cpu.h @@ -252,8 +252,6 @@ enum { #define cpu_signal_handler cpu_cris_signal_handler /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUCRISState *env, bool ifetch) {