Message ID | 20191212040039.26546-19-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | cputlb: Remove support for MMU_MODE*_SUFFIX | expand |
On 12/12/19 05:00, Richard Henderson wrote: > The functions generated by these macros are unused. > > Cc: Paolo Bonzini <pbonzini@redhat.com> > Cc: Eduardo Habkost <ehabkost@redhat.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/i386/cpu.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/target/i386/cpu.h b/target/i386/cpu.h > index cde2a16b94..6a8228df4f 100644 > --- a/target/i386/cpu.h > +++ b/target/i386/cpu.h > @@ -1949,9 +1949,6 @@ uint64_t cpu_get_tsc(CPUX86State *env); > #define cpu_list x86_cpu_list > > /* MMU modes definitions */ > -#define MMU_MODE0_SUFFIX _ksmap > -#define MMU_MODE1_SUFFIX _user > -#define MMU_MODE2_SUFFIX _knosmap /* SMAP disabled or CPL<3 && AC=1 */ > #define MMU_KSMAP_IDX 0 > #define MMU_USER_IDX 1 > #define MMU_KNOSMAP_IDX 2 > Acked-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/target/i386/cpu.h b/target/i386/cpu.h index cde2a16b94..6a8228df4f 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1949,9 +1949,6 @@ uint64_t cpu_get_tsc(CPUX86State *env); #define cpu_list x86_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _ksmap -#define MMU_MODE1_SUFFIX _user -#define MMU_MODE2_SUFFIX _knosmap /* SMAP disabled or CPL<3 && AC=1 */ #define MMU_KSMAP_IDX 0 #define MMU_USER_IDX 1 #define MMU_KNOSMAP_IDX 2
The functions generated by these macros are unused. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/i386/cpu.h | 3 --- 1 file changed, 3 deletions(-) -- 2.20.1