[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 16/29] target/nios2: Remove MMU_MODE{0,1}_SUFFIX
From: |
Richard Henderson |
Subject: |
[PATCH v3 16/29] target/nios2: Remove MMU_MODE{0,1}_SUFFIX |
Date: |
Sun, 29 Dec 2019 10:11:11 +1100 |
The functions generated by these macros are unused.
Cc: Chris Wulff <address@hidden>
Cc: Marek Vasut <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
target/nios2/cpu.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 361b06ffeb..78f633f970 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -217,8 +217,6 @@ void do_nios2_semihosting(CPUNios2State *env);
#define CPU_SAVE_VERSION 1
/* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _kernel
-#define MMU_MODE1_SUFFIX _user
#define MMU_SUPERVISOR_IDX 0
#define MMU_USER_IDX 1
--
2.20.1
- [PATCH v3 05/29] target/arm: Include tcg.h in sve_helper.c, (continued)
- [PATCH v3 05/29] target/arm: Include tcg.h in sve_helper.c, Richard Henderson, 2019/12/28
- [PATCH v3 06/29] accel/tcg: Include tcg.h in tcg-runtime.c, Richard Henderson, 2019/12/28
- [PATCH v3 07/29] linux-user: Include tcg.h in syscall.c, Richard Henderson, 2019/12/28
- [PATCH v3 08/29] linux-user: Include trace-root.h in syscall-trace.h, Richard Henderson, 2019/12/28
- [PATCH v3 09/29] plugins: Include trace/mem.h in api.c, Richard Henderson, 2019/12/28
- [PATCH v3 10/29] cputlb: Move body of cpu_ldst_template.h out of line, Richard Henderson, 2019/12/28
- [PATCH v3 11/29] translator: Use cpu_ld*_code instead of open-coding, Richard Henderson, 2019/12/28
- [PATCH v3 12/29] cputlb: Rename helper_ret_ld*_cmmu to cpu_ld*_code, Richard Henderson, 2019/12/28
- [PATCH v3 13/29] cputlb: Provide cpu_(ld, st}*_mmuidx_ra for user-only, Richard Henderson, 2019/12/28
- [PATCH v3 14/29] target/i386: Use cpu_*_mmuidx_ra instead of templates, Richard Henderson, 2019/12/28
- [PATCH v3 16/29] target/nios2: Remove MMU_MODE{0,1}_SUFFIX,
Richard Henderson <=
- [PATCH v3 15/29] cputlb: Expand cpu_ldst_useronly_template.h in user-exec.c, Richard Henderson, 2019/12/28
- [PATCH v3 17/29] target/alpha: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 18/29] target/cris: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 19/29] target/i386: Remove MMU_MODE{0,1,2}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 20/29] target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 21/29] target/sh4: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 22/29] target/unicore32: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 23/29] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 24/29] target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0, 1}_SUFFIX, Richard Henderson, 2019/12/28
- [PATCH v3 25/29] target/mips: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX, Richard Henderson, 2019/12/28