summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kexec.h
diff options
context:
space:
mode:
authorGeoff Levand2016-06-23 19:54:48 +0200
committerCatalin Marinas2016-06-27 17:31:25 +0200
commitd28f6df1305a86715e4e7ea0f043ba01c0a0e8d9 (patch)
tree0d1f3fba97565a04c56ecf83ea24a0021d056e91 /include/uapi/linux/kexec.h
parentarm64: Add back cpu reset routines (diff)
downloadkernel-qcow2-linux-d28f6df1305a86715e4e7ea0f043ba01c0a0e8d9.tar.gz
kernel-qcow2-linux-d28f6df1305a86715e4e7ea0f043ba01c0a0e8d9.tar.xz
kernel-qcow2-linux-d28f6df1305a86715e4e7ea0f043ba01c0a0e8d9.zip
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>
Diffstat (limited to 'include/uapi/linux/kexec.h')
-rw-r--r--include/uapi/linux/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kexec.h b/include/uapi/linux/kexec.h
index 99048e501b88..aae5ebf2022b 100644
--- a/include/uapi/linux/kexec.h
+++ b/include/uapi/linux/kexec.h
@@ -39,6 +39,7 @@
#define KEXEC_ARCH_SH (42 << 16)
#define KEXEC_ARCH_MIPS_LE (10 << 16)
#define KEXEC_ARCH_MIPS ( 8 << 16)
+#define KEXEC_ARCH_AARCH64 (183 << 16)
/* The artificial cap on the number of segments passed to kexec_load. */
#define KEXEC_SEGMENT_MAX 16