diff options
author | Gerald Schaefer <geraldsc@de.ibm.com> | 2006-09-20 09:59:44 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 09:59:44 -0400 |
commit | 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 (patch) | |
tree | 6768eb3991f4f1616b211a21ccf1b8e27820ae79 /arch/s390/kernel/setup.c | |
parent | d02765d1af743567398eb6d523dea0ba5e5e7e8e (diff) |
[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 e229af59976c..e3d9325f6022 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -647,7 +647,11 @@ setup_arch(char **cmdline_p) | |||
647 | 647 | ||
648 | memory_end = memory_size; | 648 | memory_end = memory_size; |
649 | 649 | ||
650 | memcpy(&uaccess, &uaccess_std, sizeof(uaccess)); | 650 | if (MACHINE_HAS_MVCOS) |
651 | memcpy(&uaccess, &uaccess_mvcos, sizeof(uaccess)); | ||
652 | else | ||
653 | memcpy(&uaccess, &uaccess_std, sizeof(uaccess)); | ||
654 | |||
651 | parse_early_param(); | 655 | parse_early_param(); |
652 | 656 | ||
653 | #ifndef CONFIG_64BIT | 657 | #ifndef CONFIG_64BIT |