From: Alexander Nyberg Also, patch at bottom is needed to compile kexec on x64 without ia32 emulation support (the includes are not used at the moment). CC arch/x86_64/kernel/crash.o In file included from arch/x86_64/kernel/crash.c:18: include/linux/elfcore.h: I funktion `elf_core_copy_regs': include/linux/elfcore.h:92: error: dereferencing pointer to incomplete type include/linux/elfcore.h:92: error: dereferencing pointer to incomplete type Signed-off-by: Andrew Morton --- arch/x86_64/kernel/crash.c | 2 -- 1 files changed, 2 deletions(-) diff -puN arch/x86_64/kernel/crash.c~x86_64-kexec-build-fix arch/x86_64/kernel/crash.c --- 25/arch/x86_64/kernel/crash.c~x86_64-kexec-build-fix 2005-04-25 21:49:37.597570656 -0700 +++ 25-akpm/arch/x86_64/kernel/crash.c 2005-04-25 21:49:37.600570200 -0700 @@ -14,8 +14,6 @@ #include #include #include -#include -#include #include #include _