Skip to content

Commit

Permalink
scs: Remove references to asm/scs.h from core code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Deacon committed May 18, 2020
1 parent 88485be commit aa7a65a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion kernel/scs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit aa7a65a

Please sign in to comment.