|
@@ -25,6 +25,7 @@
|
|
|
#include <asm/io_apic.h>
|
|
#include <asm/io_apic.h>
|
|
|
#include <asm/debugreg.h>
|
|
#include <asm/debugreg.h>
|
|
|
#include <asm/kexec-bzimage64.h>
|
|
#include <asm/kexec-bzimage64.h>
|
|
|
|
|
+#include <asm/setup.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_KEXEC_FILE
|
|
#ifdef CONFIG_KEXEC_FILE
|
|
|
static struct kexec_file_ops *kexec_file_loaders[] = {
|
|
static struct kexec_file_ops *kexec_file_loaders[] = {
|
|
@@ -334,7 +335,7 @@ void arch_crash_save_vmcoreinfo(void)
|
|
|
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
|
|
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
|
|
|
#endif
|
|
#endif
|
|
|
vmcoreinfo_append_str("KERNELOFFSET=%lx\n",
|
|
vmcoreinfo_append_str("KERNELOFFSET=%lx\n",
|
|
|
- (unsigned long)&_text - __START_KERNEL);
|
|
|
|
|
|
|
+ kaslr_offset());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* arch-dependent functionality related to kexec file-based syscall */
|
|
/* arch-dependent functionality related to kexec file-based syscall */
|