diff options
author | Gerald Schaefer <geraldsc@de.ibm.com> | 2006-09-20 13:59:44 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 13:59:44 (GMT) |
commit | 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 (patch) | |
tree | 6768eb3991f4f1616b211a21ccf1b8e27820ae79 /arch/s390/kernel/setup.c | |
parent | d02765d1af743567398eb6d523dea0ba5e5e7e8e (diff) | |
download | linux-fsl-qoriq-6c2a9e6df60478e712f3c3d98b5047778a82a3d7.tar.xz |
[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>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index e229af5..e3d9325 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -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 |