aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-12-10 10:24:06 -0800
committerRichard Henderson <richard.henderson@linaro.org>2020-01-15 15:13:10 -1000
commit28c4b86928e52fcd0b2ad1358eded204ffa40101 (patch)
tree851bbc63be92713f81d556e9b94d18fb5ef74147
parent5a13571b01a9bd7f46cf63842d4053bc7570188d (diff)
downloadqemu-28c4b86928e52fcd0b2ad1358eded204ffa40101.zip
qemu-28c4b86928e52fcd0b2ad1358eded204ffa40101.tar.gz
qemu-28c4b86928e52fcd0b2ad1358eded204ffa40101.tar.bz2
target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX
The functions generated by these macros are unused. Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--target/xtensa/cpu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h
index 75e65df..493f4fc 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)