ppc: Remove MMU_MODEn_SUFFIX definitions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 May 2016 16:03:23 +0000 (18:03 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 May 2016 03:20:04 +0000 (13:20 +1000)
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 <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/cpu.h

index cd33539d1ce9dc805cac05c287f0fcff50b9e694..02e71ea1274a1df16c3d100bfae2541555d92b64 100644 (file)
@@ -1242,9 +1242,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, bool ifetch)
 {