diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-10-15 15:03:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-15 17:18:39 -0400 |
commit | 51018b0a3160d253283173c2f54f16746cee5852 (patch) | |
tree | a5ac94f8ff6cfd8d7c0b6eb6a9de812dab56b156 | |
parent | 80c5606c3b45e0176c32d3108ade1e1cb0b954f3 (diff) |
[PATCH] 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: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/um/include/kern_util.h | 1 | ||||
-rw-r--r-- | arch/um/sys-x86_64/stub_segv.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h index 59cfa9e0cad0..cec9fcc57bf5 100644 --- a/arch/um/include/kern_util.h +++ b/arch/um/include/kern_util.h | |||
@@ -6,7 +6,6 @@ | |||
6 | #ifndef __KERN_UTIL_H__ | 6 | #ifndef __KERN_UTIL_H__ |
7 | #define __KERN_UTIL_H__ | 7 | #define __KERN_UTIL_H__ |
8 | 8 | ||
9 | #include "linux/threads.h" | ||
10 | #include "sysdep/ptrace.h" | 9 | #include "sysdep/ptrace.h" |
11 | #include "sysdep/faultinfo.h" | 10 | #include "sysdep/faultinfo.h" |
12 | 11 | ||
diff --git a/arch/um/sys-x86_64/stub_segv.c b/arch/um/sys-x86_64/stub_segv.c index 1c967026c957..652fa34c2cd3 100644 --- a/arch/um/sys-x86_64/stub_segv.c +++ b/arch/um/sys-x86_64/stub_segv.c | |||
@@ -5,7 +5,6 @@ | |||
5 | 5 | ||
6 | #include <stddef.h> | 6 | #include <stddef.h> |
7 | #include <signal.h> | 7 | #include <signal.h> |
8 | #include <linux/compiler.h> | ||
9 | #include <asm/unistd.h> | 8 | #include <asm/unistd.h> |
10 | #include "uml-config.h" | 9 | #include "uml-config.h" |
11 | #include "sysdep/sigcontext.h" | 10 | #include "sysdep/sigcontext.h" |