On Wed, Feb 23, 2022 at 10:04:32PM -0800, Kees Cook wrote: > To follow the existing per-arch conventions replace open-coded uses > of asm "sp" as "current_stack_pointer". This will let it be used in > non-arch places (like HARDENED_USERCOPY). > > Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> > Cc: Marc Zyngier <maz@xxxxxxxxxx> > Cc: Guenter Roeck <linux@xxxxxxxxxxxx> > Cc: Mark Rutland <mark.rutland@xxxxxxx> > Cc: Yanteng Si <siyanteng01@xxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxxx > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> > --- > arch/mips/Kconfig | 1 + > arch/mips/include/asm/thread_info.h | 2 ++ > arch/mips/kernel/irq.c | 3 +-- > arch/mips/lib/uncached.c | 4 +--- > 4 files changed, 5 insertions(+), 5 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]