summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-09-14 10:48:20 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-10-28 17:05:39 +0100
commit450abd38fe6c6313ce9bdd9dce81c1dd604f6fb0 (patch)
tree40d8d29bfe5389007a3128447f890ceda61afc37 /net/l2tp
parentARM: head.S: use PC-relative insn sequence for secondary_data (diff)
downloadlinux-450abd38fe6c6313ce9bdd9dce81c1dd604f6fb0.tar.xz
linux-450abd38fe6c6313ce9bdd9dce81c1dd604f6fb0.zip
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>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions