Le 11/03/2022 à 14:00, YueHaibing a écrit : > commit 2341964e27b0 ("powerpc/kuap: Remove __kuap_assert_locked()") > left behind this one, remove it. > > Signed-off-by: YueHaibing <yuehaib...@huawei.com>
Thanks for fixing this Acked-by: Christophe Leroy <christophe.le...@csgroup.eu> > --- > arch/powerpc/include/asm/kup.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerpc/include/asm/kup.h b/arch/powerpc/include/asm/kup.h > index fb2237809d63..d751ddd08110 100644 > --- a/arch/powerpc/include/asm/kup.h > +++ b/arch/powerpc/include/asm/kup.h > @@ -52,7 +52,6 @@ __bad_kuap_fault(struct pt_regs *regs, unsigned long > address, bool is_write) > return false; > } > > -static inline void __kuap_assert_locked(void) { } > static inline void __kuap_lock(void) { } > static inline void __kuap_save_and_lock(struct pt_regs *regs) { } > static inline void kuap_user_restore(struct pt_regs *regs) { }