From: Will Deacon Date: Fri, 15 May 2020 15:15:46 +0000 (+0100) Subject: scs: Remove references to asm/scs.h from core code X-Git-Tag: v5.15~3602^2~7^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa7a65ae5b8f459617e5ed1422301386e7f12274;p=platform%2Fkernel%2Flinux-starfive.git scs: Remove references to asm/scs.h from core code asm/scs.h is no longer needed by the core code, so remove a redundant header inclusion and update the stale Kconfig text. Tested-by: Sami Tolvanen Reviewed-by: Mark Rutland Signed-off-by: Will Deacon --- diff --git a/arch/Kconfig b/arch/Kconfig index 45dfca9..2e6f843 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -537,8 +537,8 @@ config ARCH_SUPPORTS_SHADOW_CALL_STACK bool help An architecture should select this if it supports Clang's Shadow - Call Stack, has asm/scs.h, and implements runtime support for shadow - stack switching. + Call Stack and implements runtime support for shadow stack + switching. config SHADOW_CALL_STACK bool "Clang Shadow Call Stack" diff --git a/kernel/scs.c b/kernel/scs.c index faf0ecd..222a7a9 100644 --- a/kernel/scs.c +++ b/kernel/scs.c @@ -10,7 +10,6 @@ #include #include #include -#include static struct kmem_cache *scs_cache;