arm64: add alternative runtime patching
authorAndre Przywara <andre.przywara@arm.com>
Fri, 14 Nov 2014 15:54:08 +0000 (15:54 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 25 Nov 2014 13:46:36 +0000 (13:46 +0000)
commite039ee4ee3fcf174736f2cb0a2eed6cb908348a6
tree65cb1ee1f7ad18726189954a4fd4d0f64420838a
parent930da09f5e50dd22fb0a8600388da8677d62d671
arm64: add alternative runtime patching

With a blatant copy of some x86 bits we introduce the alternative
runtime patching "framework" to arm64.
This is quite basic for now and we only provide the functions we need
at this time.
This is connected to the newly introduced feature bits.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/alternative-asm.h [new file with mode: 0644]
arch/arm64/include/asm/alternative.h [new file with mode: 0644]
arch/arm64/kernel/Makefile
arch/arm64/kernel/alternative.c [new file with mode: 0644]
arch/arm64/kernel/smp.c
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/mm/init.c