Message ID | 20191216221158.29572-23-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | cputlb: Remove support for MMU_MODE*_SUFFIX | expand |
Richard Henderson <richard.henderson@linaro.org> writes: > The functions generated by these macros are unused. > > Acked-by: Max Filippov <jcmvbkbc@gmail.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/xtensa/cpu.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h > index b363ffcf10..f5a7ea48bb 100644 > --- a/target/xtensa/cpu.h > +++ b/target/xtensa/cpu.h > @@ -685,10 +685,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) -- Alex Bennée
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index b363ffcf10..f5a7ea48bb 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -685,10 +685,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)