From 47b2696b975b794c6fa7b9fa8ae4699e749d662c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 14 Jul 2016 13:21:11 -0700 Subject: [PATCH] target-sparc: Remove MMU_MODE*_SUFFIX The functions that these generate are no longer used. Tested-by: Mark Cave-Ayland Signed-off-by: Richard Henderson --- target-sparc/cpu.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index e94b8f19d6..5fb0ed1aad 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -638,23 +638,15 @@ int cpu_sparc_signal_handler(int host_signum, void *pinfo, void *puc); /* MMU modes definitions */ #if defined (TARGET_SPARC64) #define MMU_USER_IDX 0 -#define MMU_MODE0_SUFFIX _user #define MMU_USER_SECONDARY_IDX 1 -#define MMU_MODE1_SUFFIX _user_secondary #define MMU_KERNEL_IDX 2 -#define MMU_MODE2_SUFFIX _kernel #define MMU_KERNEL_SECONDARY_IDX 3 -#define MMU_MODE3_SUFFIX _kernel_secondary #define MMU_NUCLEUS_IDX 4 -#define MMU_MODE4_SUFFIX _nucleus #define MMU_HYPV_IDX 5 -#define MMU_MODE5_SUFFIX _hypv #define MMU_PHYS_IDX 6 #else #define MMU_USER_IDX 0 -#define MMU_MODE0_SUFFIX _user #define MMU_KERNEL_IDX 1 -#define MMU_MODE1_SUFFIX _kernel #define MMU_PHYS_IDX 2 #endif