diff options
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 |