linux/arch/um
Paolo 'Blaisorblade' Giarrusso 3feb88562d [PATCH] uml: check for differences in host support
If running on a host not supporting TLS (for instance 2.4) we should report
that cleanly to the user, instead of printing not comprehensible "error 5" for
that.

Additionally, i386 and x86_64 support different ranges for
user_desc->entry_number, and we must account for that; we couldn't pass
ourselves -1 because we need to override previously existing TLS descriptors
which glibc has possibly set, so test at startup the range to use.

x86 and x86_64 existing ranges are hardcoded.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:52 -08:00
..
drivers [PATCH] uml: fix min usage 2006-03-31 12:18:51 -08:00
include [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
kernel [PATCH] uml: add arch_switch_to for newly forked thread 2006-03-31 12:18:52 -08:00
os-Linux [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
scripts [PATCH] uml: clean up remapping code build magic 2006-03-31 12:18:51 -08:00
sys-i386 [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
config.release
defconfig
Kconfig [PATCH] uml: kconfigs 2006-03-31 12:18:51 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Makefile [PATCH] uml: split ldt.h in arch-independent and arch-dependant code 2006-03-31 12:18:51 -08:00
Makefile-i386 [PATCH] uml: fixups for "reuse i386 cpu-specific tuning" 2005-11-13 18:14:14 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: eliminate symlinks to host arch 2006-03-31 12:18:50 -08:00