scs: Remove references to asm/scs.h from core code
authorWill Deacon <will@kernel.org>
Fri, 15 May 2020 15:15:46 +0000 (16:15 +0100)
committerWill Deacon <will@kernel.org>
Mon, 18 May 2020 16:47:45 +0000 (17:47 +0100)
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 <samitolvanen@google.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/Kconfig
kernel/scs.c

index 45dfca9..2e6f843 100644 (file)
@@ -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"
index faf0ecd..222a7a9 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/scs.h>
 #include <linux/slab.h>
 #include <linux/vmstat.h>
-#include <asm/scs.h>
 
 static struct kmem_cache *scs_cache;