summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kexec.h
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2016-06-23 20:54:48 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2016-06-27 18:31:25 +0300
commitd28f6df1305a86715e4e7ea0f043ba01c0a0e8d9 (patch)
tree0d1f3fba97565a04c56ecf83ea24a0021d056e91 /include/uapi/linux/kexec.h
parentf9076ecfb1216a478312b1c078d04792df6d4477 (diff)
downloadlinux-d28f6df1305a86715e4e7ea0f043ba01c0a0e8d9.tar.xz
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