aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-12-10 10:21:26 -0800
committerRichard Henderson <richard.henderson@linaro.org>2020-01-15 15:13:10 -1000
commit345a3a1412163f4086d11bc33333155532b8f98f (patch)
tree1b7986be59d2e5dbedab4182593190a8f6904083
parent39ac4370370bcf9c0d34f40b4a8b040d4ca01d00 (diff)
downloadqemu-345a3a1412163f4086d11bc33333155532b8f98f.zip
qemu-345a3a1412163f4086d11bc33333155532b8f98f.tar.gz
qemu-345a3a1412163f4086d11bc33333155532b8f98f.tar.bz2
target/sh4: Remove MMU_MODE{0,1}_SUFFIX
The functions generated by these macros are unused. Cc: Aurelien Jarno <aurelien@aurel32.net> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--target/sh4/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index ecaa7a1..452a596 100644
--- a/target/sh4/cpu.h
+++ b/target/sh4/cpu.h
@@ -254,8 +254,6 @@ void cpu_load_tlb(CPUSH4State * env);
#define cpu_list sh4_cpu_list
/* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _kernel
-#define MMU_MODE1_SUFFIX _user
#define MMU_USER_IDX 1
static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch)
{