From 6b09040e23a0503312876689e604a122c11daede Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 1 Mar 2018 08:30:25 -0500 Subject: [PATCH] target-sparc: Remove MMU_MODE*_SUFFIX The functions that these generate are no longer used. Backports commit 47b2696b975b794c6fa7b9fa8ae4699e749d662c from qemu --- qemu/target-sparc/cpu.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/qemu/target-sparc/cpu.h b/qemu/target-sparc/cpu.h index e4afc105..7af3f600 100644 --- a/qemu/target-sparc/cpu.h +++ b/qemu/target-sparc/cpu.h @@ -638,23 +638,15 @@ static inline CPUSPARCState *cpu_init(struct uc_struct *uc, const char *cpu_mode /* 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