summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/machine_kexec_file.c
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2018-11-15 14:52:48 +0900
committerWill Deacon <will.deacon@arm.com>2018-12-06 14:38:52 +0000
commit3ddd9992a590c7462ff22f7cb17d386b83ed0a07 (patch)
tree457baf4bf38ffe38199cacf555ddd45bfd7ff2be /arch/arm64/kernel/machine_kexec_file.c
parentbdd2c9d1c33357462d1d38eb04bbb5dc452eed40 (diff)
downloadlinux-3ddd9992a590c7462ff22f7cb17d386b83ed0a07.tar.bz2
arm64: enable KEXEC_FILE config
Modify arm64/Kconfig to enable kexec_file_load support. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Acked-by: James Morse <james.morse@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/machine_kexec_file.c')
-rw-r--r--arch/arm64/kernel/machine_kexec_file.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c
new file mode 100644
index 000000000000..c38a8048ed00
--- /dev/null
+++ b/arch/arm64/kernel/machine_kexec_file.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * kexec_file for arm64
+ *
+ * Copyright (C) 2018 Linaro Limited
+ * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
+ *
+ */
+
+#define pr_fmt(fmt) "kexec_file: " fmt
+
+#include <linux/kexec.h>
+
+const struct kexec_file_ops * const kexec_file_loaders[] = {
+ NULL
+};