[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 30/41] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX

From: Richard Henderson
Subject: [PULL 30/41] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX
Date: Wed, 8 Jan 2020 14:45:12 +1100

The functions generated by these macros are unused.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Max Filippov <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
 target/xtensa/cpu.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h
index 75e65df597..493f4fc80c 100644
--- a/target/xtensa/cpu.h
+++ b/target/xtensa/cpu.h
@@ -689,10 +689,6 @@ static inline uint32_t 
xtensa_replicate_windowstart(CPUXtensaState *env)
 /* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _ring0
-#define MMU_MODE1_SUFFIX _ring1
-#define MMU_MODE2_SUFFIX _ring2
-#define MMU_MODE3_SUFFIX _ring3
 #define MMU_USER_IDX 3
 static inline int cpu_mmu_index(CPUXtensaState *env, bool ifetch)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]