Revert "FROMLIST: arm64: disable SCS for hypervisor code"

Shadow call stack is now merged upstream for 5.9, so revert the patches
cherry-picked into android-mainline in preparation for pulling the upstream
version instead.

This reverts commit 4756bebcd2.

Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I26b3710cb4baa8ef62f7f50966975d21d179d4fe
This commit is contained in:
Will Deacon
2020-06-09 12:47:13 +01:00
parent 933c896931
commit d78e2a17bc

View File

@@ -29,5 +29,5 @@ KASAN_SANITIZE := n
UBSAN_SANITIZE := n
KCOV_INSTRUMENT := n
# remove SCS and CFI flags from all objects in this directory
KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS) $(CC_FLAGS_CFI), $(KBUILD_CFLAGS))
# remove CFI flags from all objects in this directory
KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_CFI), $(KBUILD_CFLAGS))