|
From: | Alex Bennée |
Subject: | Re: [PATCH v2 22/28] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX |
Date: | Fri, 20 Dec 2019 19:30:24 +0000 |
User-agent: | mu4e 1.3.5; emacs 27.0.50 |
Richard Henderson <address@hidden> writes: > The functions generated by these macros are unused. > > Acked-by: Max Filippov <address@hidden> > Signed-off-by: Richard Henderson <address@hidden> Reviewed-by: Alex Bennée <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 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
[Prev in Thread] | Current Thread | [Next in Thread] |