[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>
Showing
- arch/um/Makefile 1 addition, 1 deletionarch/um/Makefile
- arch/um/kernel/tt/Makefile 0 additions, 15 deletionsarch/um/kernel/tt/Makefile
- arch/um/kernel/uml.lds.S 3 additions, 12 deletionsarch/um/kernel/uml.lds.S
- arch/um/scripts/Makefile.rules 6 additions, 0 deletionsarch/um/scripts/Makefile.rules
- arch/um/scripts/Makefile.unmap 22 additions, 0 deletionsarch/um/scripts/Makefile.unmap
- arch/um/sys-i386/Makefile 2 additions, 0 deletionsarch/um/sys-i386/Makefile
- arch/um/sys-i386/unmap.c 25 additions, 0 deletionsarch/um/sys-i386/unmap.c
- arch/um/sys-x86_64/Makefile 2 additions, 0 deletionsarch/um/sys-x86_64/Makefile
- arch/um/sys-x86_64/unmap.c 25 additions, 0 deletionsarch/um/sys-x86_64/unmap.c
Loading
Please register or sign in to comment