]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a936d1e6834e69af82e2f6eff82e21af45c42b8
tree65cb1ee1f7ad18726189954a4fd4d0f64420838a
parent769e264712b7a38095f50b090137523d4c336651
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