aboutsummaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2007-03-14 16:58:30 +0000
committerIan Campbell <ian.campbell@xensource.com>2007-03-14 16:58:30 +0000
commit8fafd2af0e7e434957ac8f6cadb2c04ba0062881 (patch)
tree95e82c53e56ab3f78c84b80294bcd789efa48b04 /patches
parenta84c4f75e58ca86329372b6dcfd0bdcbc626c71f (diff)
downloadxen-8fafd2af0e7e434957ac8f6cadb2c04ba0062881.tar.gz
xen-8fafd2af0e7e434957ac8f6cadb2c04ba0062881.tar.bz2
xen-8fafd2af0e7e434957ac8f6cadb2c04ba0062881.zip
[LINUX] 32on64 kdump: Allow a 32 bit kernel to read a 64 bit dump.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'patches')
-rw-r--r--patches/linux-2.6.18/crash-kernel-32-on-64.patch11
-rw-r--r--patches/linux-2.6.18/series1
2 files changed, 12 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.
diff --git a/patches/linux-2.6.18/series b/patches/linux-2.6.18/series
index 85bbae63e4..978fdacc42 100644
--- a/patches/linux-2.6.18/series
+++ b/patches/linux-2.6.18/series
@@ -19,3 +19,4 @@ x86-elfnote-as-preprocessor-macro.patch
fixaddr-top.patch
git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch
softlockup-no-idle-hz.patch
+crash-kernel-32-on-64.patch