[S390] Use alternative user-copy operations for new hardware.

This introduces new user-copy operations which are optimized for
copying more than 256 Bytes on new hardware.

Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Gerald Schaefer
2006-09-20 15:59:44 +02:00
committed by Martin Schwidefsky
parent d02765d1af
commit 6c2a9e6df6
6 changed files with 178 additions and 1 deletions

View File

@@ -647,7 +647,11 @@ setup_arch(char **cmdline_p)
memory_end = memory_size;
memcpy(&uaccess, &uaccess_std, sizeof(uaccess));
if (MACHINE_HAS_MVCOS)
memcpy(&uaccess, &uaccess_mvcos, sizeof(uaccess));
else
memcpy(&uaccess, &uaccess_std, sizeof(uaccess));
parse_early_param();
#ifndef CONFIG_64BIT