summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/crash_core.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2023-04-12 17:01:34 +0100
committerWill Deacon <will@kernel.org>2023-04-13 12:27:11 +0100
commitde1702f65feb516d5394e81a78519de9dc567031 (patch)
treeb4cc2831f089cdb4a07b168fe7462d8bf8616f6e /arch/arm64/kernel/crash_core.c
parentca708599ca43567cdd69f799454f95d1c80ffee5 (diff)
downloadlwn-de1702f65feb516d5394e81a78519de9dc567031.tar.gz
lwn-de1702f65feb516d5394e81a78519de9dc567031.zip
arm64: move PAC masks to <asm/pointer_auth.h>
Now that we use XPACLRI to strip PACs within the kernel, the ptrauth_user_pac_mask() and ptrauth_kernel_pac_mask() definitions no longer need to live in <asm/compiler.h>. Move them to <asm/pointer_auth.h>, and ensure that this header is included where they are used. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Amit Daniel Kachhap <amit.kachhap@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: James Morse <james.morse@arm.com> Cc: Kristina Martsenko <kristina.martsenko@arm.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20230412160134.306148-4-mark.rutland@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/crash_core.c')
-rw-r--r--arch/arm64/kernel/crash_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/crash_core.c b/arch/arm64/kernel/crash_core.c
index 2b65aae332ce..66cde752cd74 100644
--- a/arch/arm64/kernel/crash_core.c
+++ b/arch/arm64/kernel/crash_core.c
@@ -8,6 +8,7 @@
#include <asm/cpufeature.h>
#include <asm/memory.h>
#include <asm/pgtable-hwdef.h>
+#include <asm/pointer_auth.h>
static inline u64 get_tcr_el1_t1sz(void);