[PATCH] uml: fix linkage of tt mode against NPTL
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 22 Jun 2005 00:16:25 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:32 +0000 (19:07 -0700)
commit60b2737de1b1ddfdb90f3ba622634eb49d6f3603
treea352eda5ca213cdae0a2eabd6693b8a4f573e38f
parentb77d6adc922b8bbf8b16b67f567958c42962cf88
[PATCH] uml: fix linkage of tt mode against NPTL

With Al Viro <viro@parcelfarce.linux.theplanet.co.uk>

To make sure switcheroo() can execute when we remap all the executable
image, we used a trick to make it use a local copy of errno...  this trick
does not work with NPTL glibc, only with LinuxThreads, so use another
(simpler) one to make it work anyway.

Hopefully, a lot improved thanks to merging with the version of Al Viro
(which had his part of problems, though, i.e.  removing a fix to another
bug and not fixing the problem on i386).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Makefile
arch/um/kernel/tt/Makefile
arch/um/kernel/tt/unmap.c [deleted file]
arch/um/kernel/uml.lds.S
arch/um/scripts/Makefile.rules
arch/um/scripts/Makefile.unmap [new file with mode: 0644]
arch/um/sys-i386/Makefile
arch/um/sys-i386/unmap.c [new file with mode: 0644]
arch/um/sys-x86_64/Makefile
arch/um/sys-x86_64/unmap.c [new file with mode: 0644]