aboutsummaryrefslogtreecommitdiffstats
path: root/patches/linux-2.6.18/crash-kernel-32-on-64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/linux-2.6.18/crash-kernel-32-on-64.patch')
-rw-r--r--patches/linux-2.6.18/crash-kernel-32-on-64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/linux-2.6.18/crash-kernel-32-on-64.patch b/patches/linux-2.6.18/crash-kernel-32-on-64.patch
new file mode 100644
index 0000000000..8ea9378188
--- /dev/null
+++ b/patches/linux-2.6.18/crash-kernel-32-on-64.patch
@@ -0,0 +1,11 @@
+--- pristine-linux-2.6.18/include/asm-i386/elf.h 2006-09-20 04:42:06.000000000 +0100
++++ linux-2.6.18-xen/include/asm-i386/elf.h 2007-03-14 16:42:30.000000000 +0000
+@@ -36,7 +36,7 @@
+ * This is used to ensure we don't load something for the wrong architecture.
+ */
+ #define elf_check_arch(x) \
+- (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
++ (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486) || ((x)->e_machine == EM_X86_64))
+
+ /*
+ * These are used to set parameters in the core dumps.