mirror of https://gitee.com/openkylin/linux.git
12919aa6e0
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> |
||
---|---|---|
.. | ||
Makefile | ||
bugs.c | ||
checksum.S | ||
delay.c | ||
fault.c | ||
ksyms.c | ||
ldt.c | ||
ptrace.c | ||
ptrace_user.c | ||
sigcontext.c | ||
signal.c | ||
stub.S | ||
stub_segv.c | ||
sys_call_table.S | ||
syscalls.c | ||
sysrq.c | ||
unmap.c | ||
user-offsets.c |