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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Fernando Vazquez <[email protected]>
---

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
--- linux-2.6.16-rc1-orig/include/asm-x86_64/kexec.h	2006-01-19 17:51:45.000000000 +0900
+++ linux-2.6.16-rc1/include/asm-x86_64/kexec.h	2006-01-19 17:41:13.000000000 +0900
@@ -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>
 
 /*
diff -urNp linux-2.6.16-rc1-orig/include/linux/elfcore.h linux-2.6.16-rc1/include/linux/elfcore.h
--- linux-2.6.16-rc1-orig/include/linux/elfcore.h	2006-01-03 12:21:10.000000000 +0900
+++ linux-2.6.16-rc1/include/linux/elfcore.h	2006-01-19 17:40:11.000000000 +0900
@@ -5,6 +5,7 @@
 #include <linux/signal.h>
 #include <linux/time.h>
 #include <linux/user.h>
+#include <linux/ptrace.h>
 
 struct elf_siginfo
 {


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux