summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/kexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/kexec.h')
-rw-r--r--include/asm-i386/kexec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/kexec.h b/include/asm-i386/kexec.h
index c5b4ab9..bcb5b21 100644
--- a/include/asm-i386/kexec.h
+++ b/include/asm-i386/kexec.h
@@ -42,6 +42,9 @@
/* The native architecture */
#define KEXEC_ARCH KEXEC_ARCH_386
+/* We can also handle crash dumps from 64 bit kernel. */
+#define vmcore_elf_check_arch_cross(x) ((x)->e_machine == EM_X86_64)
+
#define MAX_NOTE_BYTES 1024
/* CPU does not save ss and esp on stack if execution is already
OpenPOWER on IntegriCloud