arm64/kexec: Add core kexec support
authorGeoff Levand <geoff@infradead.org>
Thu, 23 Jun 2016 17:54:48 +0000 (17:54 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 27 Jun 2016 15:31:25 +0000 (16:31 +0100)
commitd28f6df1305a86715e4e7ea0f043ba01c0a0e8d9
tree0d1f3fba97565a04c56ecf83ea24a0021d056e91
parentf9076ecfb1216a478312b1c078d04792df6d4477
arm64/kexec: Add core kexec support

Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the
arm64 architecture that add support for the kexec re-boot mechanism
(CONFIG_KEXEC) on arm64 platforms.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Reviewed-by: James Morse <james.morse@arm.com>
[catalin.marinas@arm.com: removed dead code following James Morse's comments]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/kexec.h [new file with mode: 0644]
arch/arm64/kernel/Makefile
arch/arm64/kernel/machine_kexec.c [new file with mode: 0644]
arch/arm64/kernel/relocate_kernel.S [new file with mode: 0644]
include/uapi/linux/kexec.h