Skip to content

Commit aa7a65a

Browse files
committed
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 <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 88485be commit aa7a65a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

arch/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ config ARCH_SUPPORTS_SHADOW_CALL_STACK
537537
bool
538538
help
539539
An architecture should select this if it supports Clang's Shadow
540-
Call Stack, has asm/scs.h, and implements runtime support for shadow
541-
stack switching.
540+
Call Stack and implements runtime support for shadow stack
541+
switching.
542542

543543
config SHADOW_CALL_STACK
544544
bool "Clang Shadow Call Stack"

kernel/scs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <linux/scs.h>
1111
#include <linux/slab.h>
1212
#include <linux/vmstat.h>
13-
#include <asm/scs.h>
1413

1514
static struct kmem_cache *scs_cache;
1615

0 commit comments

Comments
 (0)