Skip to content

Commit

Permalink
[PATCH] uml: revert wrong patch
Browse files Browse the repository at this point in the history
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 0683750.

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>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Oct 11, 2006
1 parent 9858db5 commit 1875a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/Makefile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 1875a48

Please sign in to comment.