From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGuFT-0006KU-PL for qemu-devel@nongnu.org; Thu, 29 Jan 2015 13:55:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGuFR-0002la-Ku for qemu-devel@nongnu.org; Thu, 29 Jan 2015 13:55:27 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:54881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGuFR-0002k2-Ej for qemu-devel@nongnu.org; Thu, 29 Jan 2015 13:55:25 -0500 From: Peter Maydell Date: Thu, 29 Jan 2015 18:55:12 +0000 Message-Id: <1422557717-19120-7-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1422557717-19120-1-git-send-email-peter.maydell@linaro.org> References: <1422557717-19120-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 06/11] target-arm: Don't define any MMU_MODE*_SUFFIXes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Andrew Jones , Greg Bellows , =?UTF-8?q?Alex=20Benn=C3=A9e?= , patches@linaro.org target-arm doesn't use any of the MMU-mode specific cpu ldst accessor functions. Suppress their generation by not defining any of the MMU_MODE*_SUFFIX macros. ("user" and "kernel" are too simplistic as descriptions of indexes 0 and 1 anyway.) Signed-off-by: Peter Maydell Reviewed-by: Greg Bellows --- target-arm/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index cf47952..b45280d 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -1638,8 +1638,6 @@ typedef enum ARMMMUIdx { ARMMMUIdx_S1NSE1 = 8, } ARMMMUIdx; -#define MMU_MODE0_SUFFIX _user -#define MMU_MODE1_SUFFIX _kernel #define MMU_USER_IDX 0 /* Return the exception level we're running at if this is our mmu_idx */ -- 1.9.1