From: Ulrich Drepper Date: Tue, 17 Oct 2006 15:01:13 +0000 (+0200) Subject: [PATCH] uml: make Uml compile on FC6 kernel headers X-Git-Tag: v2.6.18.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f897855bd1bf3eaefd44c316bb429532630747a6;p=thirdparty%2Fkernel%2Fstable.git [PATCH] uml: make Uml compile on FC6 kernel headers 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 resulting kernel works fine. Tested on x86-64. Signed-off-by: Ulrich Drepper Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright --- diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h index b98bdd8e052a5..ab9c0b7fb667f 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 1c967026c957d..652fa34c2cd3d 100644 --- a/arch/um/sys-x86_64/stub_segv.c +++ b/arch/um/sys-x86_64/stub_segv.c @@ -5,7 +5,6 @@ #include #include -#include #include #include "uml-config.h" #include "sysdep/sigcontext.h"