[PATCH] make UML compile (FC6/x86-64)
authorUlrich Drepper <drepper@redhat.com>
Sun, 15 Oct 2006 19:03:48 +0000 (15:03 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Oct 2006 21:18:39 +0000 (14:18 -0700)
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>
arch/um/include/kern_util.h
arch/um/sys-x86_64/stub_segv.c

index 59cfa9e..cec9fcc 100644 (file)
@@ -6,7 +6,6 @@
 #ifndef __KERN_UTIL_H__
 #define __KERN_UTIL_H__
 
-#include "linux/threads.h"
 #include "sysdep/ptrace.h"
 #include "sysdep/faultinfo.h"
 
index 1c96702..652fa34 100644 (file)
@@ -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"