mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
riscv: alternative: Also patch the compat vDSO
The vDSO for compat processes can also contain alternative entries. Patch those, too. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://patch.msgid.link/20260630-riscv-vdso32-alternative-v1-3-a32fd89b7b1c@linutronix.de Signed-off-by: Paul Walmsley <pjw@kernel.org>
This commit is contained in:
parent
63aecaba41
commit
42cd1e1fc8
|
|
@ -202,6 +202,11 @@ void __init apply_boot_alternatives(void)
|
|||
apply_vdso_alternatives(vdso_cfi_start,
|
||||
__vdso_alternatives_start_cfi_offset,
|
||||
__vdso_alternatives_end_cfi_offset);
|
||||
|
||||
if (IS_ENABLED(CONFIG_COMPAT))
|
||||
apply_vdso_alternatives(compat_vdso_start,
|
||||
compat__vdso_alternatives_start_offset,
|
||||
compat__vdso_alternatives_end_offset);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user