File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -858,6 +858,15 @@ config KEXEC
858
858
but it is independent of the system firmware. And like a reboot
859
859
you can start any kernel with it, not just Linux.
860
860
861
+ config KEXEC_FILE
862
+ bool "kexec file based system call"
863
+ select KEXEC_CORE
864
+ help
865
+ This is new version of kexec system call. This system call is
866
+ file based and takes file descriptors as system call argument
867
+ for kernel and initramfs as opposed to list of segments as
868
+ accepted by previous system call.
869
+
861
870
config CRASH_DUMP
862
871
bool "Build kdump crash kernel"
863
872
help
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ arm64-obj-$(CONFIG_ARM64_ACPI_PARKING_PROTOCOL) += acpi_parking_protocol.o
49
49
arm64-obj-$(CONFIG_PARAVIRT) += paravirt.o
50
50
arm64-obj-$(CONFIG_RANDOMIZE_BASE) += kaslr.o
51
51
arm64-obj-$(CONFIG_HIBERNATION) += hibernate.o hibernate-asm.o
52
- arm64-obj-$(CONFIG_KEXEC ) += machine_kexec.o relocate_kernel.o \
52
+ arm64-obj-$(CONFIG_KEXEC_CORE ) += machine_kexec.o relocate_kernel.o \
53
53
cpu-reset.o
54
+ arm64-obj-$(CONFIG_KEXEC_FILE) += machine_kexec_file.o
54
55
arm64-obj-$(CONFIG_ARM64_RELOC_TEST) += arm64-reloc-test.o
55
56
arm64-reloc-test-y := reloc_test_core.o reloc_test_syms.o
56
57
arm64-obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ /*
3
+ * kexec_file for arm64
4
+ *
5
+ * Copyright (C) 2018 Linaro Limited
6
+ * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
7
+ *
8
+ */
9
+
10
+ #define pr_fmt (fmt ) "kexec_file: " fmt
11
+
12
+ #include <linux/kexec.h>
13
+
14
+ const struct kexec_file_ops * const kexec_file_loaders [] = {
15
+ NULL
16
+ };
You can’t perform that action at this time.
0 commit comments