浏览代码

[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 年之前
父节点
当前提交
51018b0a31
共有 2 个文件被更改,包括 0 次插入2 次删除
  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"