diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-06-28 23:51:28 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:56:59 +0100 |
commit | f8fb39000ce4df8e09d0271f8c21484ad5688368 (patch) | |
tree | a739e819195b59b77b44d00490f39a39d019c910 /arch | |
parent | e6879910ae0de0f0a044f12abf91dbe9f952d80d (diff) | |
download | tip-f8fb39000ce4df8e09d0271f8c21484ad5688368.tar.gz |
headers/deps: arm64: Duplicate the vabits_actual declaration
This is a bit ugly, but we *really* don't want to include
<asm/memory.h> in the low level compiler header ...
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/compiler.h b/arch/arm64/include/asm/compiler.h index dc3ea4080e2eb6..4359c813e6790f 100644 --- a/arch/arm64/include/asm/compiler.h +++ b/arch/arm64/include/asm/compiler.h @@ -8,6 +8,10 @@ #define ARM64_ASM_PREAMBLE #endif +#ifndef __ASSEMBLY__ +extern unsigned long long vabits_actual; +#endif + /* * The EL0/EL1 pointer bits used by a pointer authentication code. * This is dependent on TBI0/TBI1 being enabled, or bits 63:56 would also apply. |