diff options
author | Joey Gouly <joey.gouly@arm.com> | 2022-08-30 11:48:32 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-09 12:27:25 +0100 |
commit | 4e3bca8f7cdd3b658ee7ad700fdce95b5e13a441 (patch) | |
tree | 60bf7fbce949f8037afa55f3e0081a316cdd31b1 /arch/arm64/include/asm/vdso.h | |
parent | b3adc3844e1dedd05fa8d09633eaa8ddc5ddcece (diff) | |
download | linux-stable-4e3bca8f7cdd3b658ee7ad700fdce95b5e13a441.tar.gz linux-stable-4e3bca8f7cdd3b658ee7ad700fdce95b5e13a441.tar.bz2 linux-stable-4e3bca8f7cdd3b658ee7ad700fdce95b5e13a441.zip |
arm64: alternative: patch alternatives in the vDSO
Make it possible to use alternatives in the vDSO, so that better
implementations can be used if possible.
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220830104833.34636-3-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/vdso.h')
-rw-r--r-- | arch/arm64/include/asm/vdso.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/vdso.h b/arch/arm64/include/asm/vdso.h index f99dcb94b438..b4ae32109932 100644 --- a/arch/arm64/include/asm/vdso.h +++ b/arch/arm64/include/asm/vdso.h @@ -26,6 +26,9 @@ (void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \ }) +extern char vdso_start[], vdso_end[]; +extern char vdso32_start[], vdso32_end[]; + #endif /* !__ASSEMBLY__ */ #endif /* __ASM_VDSO_H */ |