summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-18 23:46:58 +0200
committerAdrian Bunk <bunk@kernel.org>2007-10-18 23:46:58 +0200
commitb1deecae30b54772fc6d114396dbce85a1c8a5b1 (patch)
tree477dd45a6f7607b64800ccf2a1fba24fb5fb5f07
parentda1d9511a88097a7bcfcd9ddd89185c15d6f7e4b (diff)
make UML compile (FC6/x86-64)
I need this patch to get a UML kernel to compile. This is with the kernel headers in FC6 which are automatically generated from the kernel tree. Some headers are missing but those files don't need them. At least it appears so since the resuling kernel works fine. Tested on x86-64. Signed-off-by: Ulrich Drepper <drepper@redhat.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r--arch/um/include/kern_util.h1
-rw-r--r--arch/um/sys-x86_64/stub_segv.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h
index 07176d92e1c9..e50e4caeec2b 100644
--- a/arch/um/include/kern_util.h
+++ b/arch/um/include/kern_util.h
@@ -6,7 +6,6 @@
#ifndef __KERN_UTIL_H__
#define __KERN_UTIL_H__
-#include "linux/threads.h"
#include "sysdep/ptrace.h"
#include "sysdep/faultinfo.h"
diff --git a/arch/um/sys-x86_64/stub_segv.c b/arch/um/sys-x86_64/stub_segv.c
index a27099533198..f5d16cc88d9f 100644
--- a/arch/um/sys-x86_64/stub_segv.c
+++ b/arch/um/sys-x86_64/stub_segv.c
@@ -5,7 +5,6 @@
#include <stddef.h>
#include <signal.h>
-#include <linux/compiler.h>
#include <asm/unistd.h>
#include "uml-config.h"
#include "sysdep/sigcontext.h"