direct-io.hg

changeset 14373:e6c31944916b

[LINUX] 32on64 kdump: Allow a 32 bit kernel to read a 64 bit dump.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Mar 14 16:58:30 2007 +0000 (2007-03-14)
parents a1daade92952
children 3f45afc6b025
files patches/linux-2.6.18/crash-kernel-32-on-64.patch patches/linux-2.6.18/series
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux-2.6.18/crash-kernel-32-on-64.patch	Wed Mar 14 16:58:30 2007 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- pristine-linux-2.6.18/include/asm-i386/elf.h	2006-09-20 04:42:06.000000000 +0100
     1.5 ++++ linux-2.6.18-xen/include/asm-i386/elf.h	2007-03-14 16:42:30.000000000 +0000
     1.6 +@@ -36,7 +36,7 @@
     1.7 +  * This is used to ensure we don't load something for the wrong architecture.
     1.8 +  */
     1.9 + #define elf_check_arch(x) \
    1.10 +-	(((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
    1.11 ++	(((x)->e_machine == EM_386) || ((x)->e_machine == EM_486) || ((x)->e_machine == EM_X86_64))
    1.12 + 
    1.13 + /*
    1.14 +  * These are used to set parameters in the core dumps.
     2.1 --- a/patches/linux-2.6.18/series	Wed Mar 14 16:39:32 2007 +0000
     2.2 +++ b/patches/linux-2.6.18/series	Wed Mar 14 16:58:30 2007 +0000
     2.3 @@ -19,3 +19,4 @@ x86-elfnote-as-preprocessor-macro.patch
     2.4  fixaddr-top.patch
     2.5  git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch
     2.6  softlockup-no-idle-hz.patch
     2.7 +crash-kernel-32-on-64.patch