[PATCH] Compilation of kexec/kdump broken in Linux 2.6.16-rc1(x86_64)
From: Fernando Luis Vazquez Cao
Date: Wed Jan 25 2006 - 02:07:52 EST
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 <fernando@xxxxxxxxxxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/