From patchwork Thu Dec 12 04:00:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 181443 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp400052ile; Wed, 11 Dec 2019 20:19:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzANRKWvqpsa0vWbeKTfNVC27vH0Zok2k09LrXxdWnmvyXZ39MMLpuXCz/e6PXMILWQ6KWL X-Received: by 2002:a05:6830:12d0:: with SMTP id a16mr6039097otq.8.1576124366824; Wed, 11 Dec 2019 20:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576124366; cv=none; d=google.com; s=arc-20160816; b=LxegqbKCNy8ksCBUqg1twWhHD6rMQMwYDj/MWQm1cMRXoAvfNZll3Q9pJ7zBl51UGt 76pZomL3Kj/x6PuupFwrTcuI/je8jVVsaMdYQzyWDHBacgiZHucwIP4di4YXyvn0OLW1 4l2Xm4Srw028pQo3YDBVX2epi/fbcHn89wt/l9YbA/47D/Gq3nWilDXyoE8sOaKQ5Rxb Nk1tI4oDEuozAH7lh4DAfUHqdkQp3JV1+E2Def3JHz4QXHMKnBJHArzSYhDQX/NvvO3J cJJhU1Y0CEYyPPluIvr5i5RnDB0KwbLS6tfMabEZx4V8VnorQSyf5AiIpXF4Glq5hMQb /drQ== 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=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=UwCEW7bRgVCMbiD39vWNvU0WkxGGqDcKN54sUPOJojUwq4340/ObF5dPPe4Bzrr/bI RS5aZtTurUdvSoZzWne7X/R6jw0gUq4hk1FHjnNGDOeTFXcuNI9wXnlM/kjcPezXVryN +Wf38tlK5Czb5ASAzTqHBNVctBa2TrwcDUPFv7b/PNF+M2bT07DQvPSdFFHIv8SublPM U5IciPvO5JSBbqYit3a2ZVS0rAHBNCqUTJLc/Tptyrv1SOtvuJHAUs3wL8qzhAR8eN9E CbdXJfmk/5w2u/MIeqrcG3hIDKht9FBHntsymlh9x3Wtg4vX0bcYNpBQ212khenY9ZZ/ GuTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CI2cLMYv; 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 a205si2549067oii.95.2019.12.11.20.19.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2019 20:19:26 -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=CI2cLMYv; 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]:54208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFwk-0007ih-6u for patch@linaro.org; Wed, 11 Dec 2019 23:19:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50157) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifFf7-00011r-Ea for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifFf6-0004Or-5r for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:13 -0500 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:45764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifFf5-0004Mv-S9 for qemu-devel@nongnu.org; Wed, 11 Dec 2019 23:01:12 -0500 Received: by mail-pg1-x543.google.com with SMTP id b9so418073pgk.12 for ; Wed, 11 Dec 2019 20:01:08 -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=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=CI2cLMYvXSjEb4joBAT2W6nowNYTooCSvH6uGbWtxJ/KQw141IGP7Aj/MZY+721nBY ywvgicjIQuBzLFC6YDnLYdCLvy7yDmaSb69w1BADykENtV64QKwl5+1av5x+etmeNVB6 u/IMjpGOgLaGr6aZtHBdeW0e5GCkiexozN2VKF3GkNJ4LWYp8ZKiPJTx+nokRVklpx7x vUR3zpQKH6prB5h8Wl7fXg+wGEVJOYzhGEZltFxMREY+94aYBDBIjz2DCpBemBRRzEHj EmckYepIyH5hSyv3gjgXaUscyBOxDrZU60+pfT1ejXQ8fFcSWLAas8MwKjJn56rxY+9L kszA== 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=b1FV8qQCpJxFWsy94CcM4K8EE5MW0MHS/kAxt/18Mds=; b=ainJnwnIOuWwUbp6rRU1J+b8w+nREAJ1Kx7p0tiuITR08m9DZnrERar2eZRbeA5xlg ZuX+lLGnEd7ALptjj8fZNVKC0dHaaCF2MW3OshM2q5VvAi8M8fvd/u7bCbb3sYfRMN4x 8sg2jh9zL+XwK69t0OjFlxkn8CRSoZl814ZQUV34O/bn9jaICiqq6RIE/us7TwNCPmad dQZ3+1GhLpOtbCMonsmgmup7mQQW6pzQqtC2UvD3cof91HznvyPV/y3EvX5cg9Uh1X1x 7SGJUMcKsdPLRoCG8gfgjtgTqwU59ddSCDIy9hIIFz9ZVl7T6lvhPmz3FVIYXSdDJmlz le7w== X-Gm-Message-State: APjAAAX7S8nRnba6EoGZYgNcizasn9+1JgR0tJioahqKKIKpEfDSJoS5 8EtCbJ+JfQfapJTLY3kkQWMo02mlb+0= X-Received: by 2002:a65:5ccc:: with SMTP id b12mr8091321pgt.124.1576123267458; Wed, 11 Dec 2019 20:01:07 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 20:01:06 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 21/28] target/unicore32: Remove MMU_MODE{0,1}_SUFFIX Date: Wed, 11 Dec 2019 20:00:32 -0800 Message-Id: <20191212040039.26546-22-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::543 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The functions generated by these macros are unused. Cc: Guan Xuetao 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) {