kernel-ark/include/asm-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
..
a.out.h
alternative.h [PATCH] x86: SMP alternatives 2006-03-23 07:38:04 -08:00
apic.h
archparam-i386.h
archparam-ppc.h
archparam-x86_64.h
atomic.h
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h
boot.h
bug.h
bugs.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h
calling.h
checksum.h
cobalt.h
common.lds.S
cpufeature.h
cputime.h
current.h
delay.h
desc.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma.h
dwarf2.h
elf-i386.h
elf-ppc.h
elf-x86_64.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
errno.h
fcntl.h
fixmap.h
floppy.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h
highmem.h
host_ldt-i386.h [PATCH] uml: split ldt.h in arch-independent and arch-dependant code 2006-03-31 12:18:51 -08:00
host_ldt-x86_64.h [PATCH] uml: split ldt.h in arch-independent and arch-dependant code 2006-03-31 12:18:51 -08:00
hw_irq.h
ide.h
io.h [PATCH] uml: add __raw_writel definition 2006-01-18 19:20:18 -08:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq_vectors.h
irq.h
keyboard.h
kmap_types.h
ldt.h [PATCH] uml: split ldt.h in arch-independent and arch-dependant code 2006-03-31 12:18:51 -08:00
linkage.h [PATCH] uml: remove old UM_FASTCALL, and make the thing work again 2005-10-30 17:37:16 -08:00
local.h
locks.h
mca_dma.h
mman.h
mmu_context.h [PATCH] uml: switch_mm fix 2005-11-07 07:53:31 -08:00
mmu.h
module-generic.h
module-i386.h
module-x86_64.h
msgbuf.h
mtrr.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h
page_offset.h
page.h [PATCH] unify pfn_to_page: uml pfn_to_page 2006-03-27 08:44:46 -08:00
param.h
pci.h
pda.h
percpu.h
pgalloc.h [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
pgtable-2level.h [PATCH] uml: merge duplicated page table code 2005-09-05 00:06:22 -07:00
pgtable-3level.h [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
pgtable.h [PATCH] mm: pte_offset_map_lock loops 2005-10-29 21:40:40 -07:00
poll.h
posix_types.h
prctl.h
processor-generic.h [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
processor-i386.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
processor-ppc.h
processor-x86_64.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
ptrace-generic.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
ptrace-i386.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
ptrace-x86_64.h [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
resource.h
rwlock.h
rwsem.h [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
scatterlist.h
sections.h
segment.h [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext-generic.h
sigcontext-i386.h
sigcontext-ppc.h
sigcontext-x86_64.h
siginfo.h
signal.h
smp.h [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
socket.h
sockios.h
spinlock_types.h [PATCH] uml spinlock breakage 2005-09-10 16:50:01 -07:00
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system-generic.h
system-i386.h [PATCH] uml: UML/i386 cmpxchg fix 2005-09-17 11:50:01 -07:00
system-ppc.h
system-x86_64.h
termbits.h
termios.h
thread_info.h [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
ucontext.h
unaligned.h
unistd.h [PATCH] uml: use generic sys_rt_sigsuspend 2006-01-18 19:20:30 -08:00
user.h
vga.h
vm86.h [PATCH] uml: vm86 compile fix 2005-07-28 21:46:03 -07:00
vm-flags-i386.h
vm-flags-x86_64.h
xor.h