浏览代码

[PATCH] uml: revert wrong patch

Andi Kleen pointed out that -mcmodel=kernel does not make sense for userspace
code and would stop everything from working, and pointed out the correct fix
for the original bug (not easy to do for me).

Reverts part of commit 06837504de7b4883e92af207dbbab4310d0db0ed.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paolo 'Blaisorblade' Giarrusso 18 年之前
父节点
当前提交
1875a48fed
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/um/Makefile-x86_64

+ 1 - 1
arch/um/Makefile-x86_64

@@ -4,7 +4,7 @@
 core-y += arch/um/sys-x86_64/
 core-y += arch/um/sys-x86_64/
 START := 0x60000000
 START := 0x60000000
 
 
-_extra_flags_ = -fno-builtin -m64 -mcmodel=kernel
+_extra_flags_ = -fno-builtin -m64
 
 
 #We #undef __x86_64__ for kernelspace, not for userspace where
 #We #undef __x86_64__ for kernelspace, not for userspace where
 #it's needed for headers to work!
 #it's needed for headers to work!