]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Implement "current_stack_pointer"
authorKees Cook <keescook@chromium.org>
Sun, 20 Feb 2022 01:20:02 +0000 (17:20 -0800)
committerKees Cook <keescook@chromium.org>
Sun, 27 Feb 2022 04:32:03 +0000 (20:32 -0800)
commitd8f381703c9884c8568cf1b2493d2a44eb4a0c02
tree9dfb690f0e69086eef55ba4dbbb51a7e0a48ab64
parent7143a847ae05bc8e442048b6ce1816b6ef89b431
m68k: Implement "current_stack_pointer"

To follow the existing per-arch conventions, add asm "sp" as
"current_stack_pointer". This will let it be used in non-arch places
(like HARDENED_USERCOPY).

Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/lkml/CAMuHMdU6msvi0j=mS28GFYbm+uMRk7PkYe+zOM4sDmOVxeibLQ@mail.gmail.com
arch/m68k/Kconfig
arch/m68k/include/asm/current.h