]> err.no Git - linux-2.6/commit
[PATCH] uml: move LDT creation
authorBodo Stroesser <bstroesser@fujitsu-siemens.com>
Thu, 19 Jan 2006 01:42:39 +0000 (17:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:18 +0000 (19:20 -0800)
commit12919aa6e015dd85170fc3b1a3e10a5dfd116c72
tree07072818e5155f55f7c9867d216725f1261ec009
parentea1eae75eb596e0628dc5e01d32c78b1f6b257fb
[PATCH] uml: move LDT creation

s390 doesn't have a LDT.  So MM_COPY_SEGMENTS will not be supported on s390.

The only user of MM_COPY_SEGMENTS is new_mm(), but that's no longer useful, as
arch/sys-i386/ldt.c defines init_new_ldt(), which is called immediately after
new_mm().  So we should copy host's LDT in init_new_ldt(), if /proc/mm is
available, to have this subarch specific call in subarch code.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/skas/include/skas.h
arch/um/kernel/skas/mmu.c
arch/um/kernel/skas/process_kern.c
arch/um/sys-i386/ldt.c