Skip to contentSkip to conversation

Compilation of kexec/kdump broken in Linux 2.6.16-rc1 (x86_64)

PATCH New Fernando Luis Vazquez Cao 1 participant 1 message Jan 25, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Compilation of kexec/kdump broken in Linux 2.6.16-rc1 (x86_64)

The compilation of kexec/kdump seems to be broken for x86_64. Remove the dependency of kexec on CONFIG_IA32_EMULATION.

---

include/asm-x86_64/kexec.h +2 -1
diff -urNp linux-2.6.16-rc1-orig/include/asm-x86_64/kexec.h linux-2.6.16-rc1/include/asm-x86_64/kexec.h
@@ -1,8 +1,9 @@
 #ifndef _X86_64_KEXEC_H
 #define _X86_64_KEXEC_H
 
+#include <linux/string.h>
+
 #include <asm/page.h>
-#include <asm/proto.h>
 #include <asm/ptrace.h>
 
 /*
include/linux/elfcore.h +1 -0
diff -urNp linux-2.6.16-rc1-orig/include/linux/elfcore.h linux-2.6.16-rc1/include/linux/elfcore.h
@@ -5,6 +5,7 @@
 #include <linux/signal.h>
 #include <linux/time.h>
 #include <linux/user.h>
+#include <linux/ptrace.h>
 
 struct elf_siginfo
 {