linux/arch/arm/include
Ard Biesheuvel 450abd38fe ARM: kernel: use relative references for UP/SMP alternatives
Currently, the .alt.smp.init section contains the virtual addresses
of the patch sites. Since patching may occur both before and after
switching into virtual mode, this requires some manual handling of
the address when applying the UP alternative.

Let's simplify this by using relative offsets in the table entries:
this allows us to simply add each entry's address to its contents,
regardless of whether we are running in virtual mode or not.

Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2020-10-28 17:05:39 +01:00
..
asm ARM: kernel: use relative references for UP/SMP alternatives 2020-10-28 17:05:39 +01:00
debug ARM: SoC platform updates 2020-10-24 10:33:08 -07:00
uapi/asm arm: Remove 32bit KVM host support 2020-03-24 10:56:04 +00:00