Răsfoiți Sursa

[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>
Ulrich Drepper 19 ani în urmă
părinte
comite
51018b0a31
2 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 1
      arch/um/include/kern_util.h
  2. 0 1
      arch/um/sys-x86_64/stub_segv.c

+ 0 - 1
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"
 

+ 0 - 1
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"