]> 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)
commitac0f88fa3eb853f50b0bec880ed7b562467c3acc
tree65cb1ee1f7ad18726189954a4fd4d0f64420838a
parentdb12370428b801734ddb7d499b17e07c86534b0b
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