[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 06837504de.

Cc: Andi Kleen <[email protected]>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Paolo 'Blaisorblade' Giarrusso 2006-10-11 01:21:31 -07:00 • committed by Linus Torvalds
commit 1875a48fed

View 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!