original_kernel/arch/um/include
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
..
skas [PATCH] uml: oS header cleanups 2006-03-27 08:44:38 -08:00
sysdep-i386 [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
sysdep-ia64
sysdep-ppc
sysdep-x86_64 [PATCH] uml: tls support: hack to make it compile on any host 2006-03-31 12:18:52 -08:00
tt
aio.h
chan_kern.h
chan_user.h
choose-mode.h
common-offsets.h
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h
kern.h
kern_util.h [PATCH] uml: clean arch_switch usage 2006-03-31 12:18:52 -08:00
line.h [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
longjmp.h
mconsole.h
mconsole_kern.h
mem.h
mem_kern.h
mem_user.h [PATCH] UML: Hotplug memory, take 2 2006-03-31 12:18:50 -08:00
misc_constants.h
mode.h
mode_kern.h
net_kern.h
net_user.h
os.h [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
process.h
ptrace_user.h
registers.h
sigcontext.h
sigio.h [PATCH] uml: move sigio_user.c to os-Linux/sigio.c 2006-03-27 08:44:38 -08:00
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h
tlb.h
ubd_user.h
um_mmu.h
um_uaccess.h
umid.h
uml_uaccess.h
user.h
user_util.h [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00