From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZREwd-0004xw-Nl for qemu-devel@nongnu.org; Mon, 17 Aug 2015 03:35:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZREwc-0001I6-Ob for qemu-devel@nongnu.org; Mon, 17 Aug 2015 03:34:59 -0400 From: Benjamin Herrenschmidt Date: Mon, 17 Aug 2015 17:34:09 +1000 Message-Id: <1439796853-4410-1-git-send-email-benh@kernel.crashing.org> Subject: [Qemu-devel] [PATCH 1/5] ppc: Remove MMU_MODEn_SUFFIX definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-ppc@nongnu.org, Alexander Graf , Aurelien Jarno We don't use the resulting accessors and this gets in the way of the split I/D TLB work. Signed-off-by: Benjamin Herrenschmidt --- target-ppc/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 6f76674..5dfd195 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1246,9 +1246,6 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, uint32_t val); #define cpu_list ppc_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _user -#define MMU_MODE1_SUFFIX _kernel -#define MMU_MODE2_SUFFIX _hypv #define MMU_USER_IDX 0 static inline int cpu_mmu_index (CPUPPCState *env) { -- 2.4.3