]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] uml: revert wrong patch
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 11 Oct 2006 08:21:31 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:19 +0000 (11:14 -0700)
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>
arch/um/Makefile-x86_64

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