diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index f2a9165ca4f8..e229af59976c 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -51,6 +51,12 @@ | |||
51 | #include <asm/sections.h> | 51 | #include <asm/sections.h> |
52 | 52 | ||
53 | /* | 53 | /* |
54 | * User copy operations. | ||
55 | */ | ||
56 | struct uaccess_ops uaccess; | ||
57 | EXPORT_SYMBOL_GPL(uaccess); | ||
58 | |||
59 | /* | ||
54 | * Machine setup.. | 60 | * Machine setup.. |
55 | */ | 61 | */ |
56 | unsigned int console_mode = 0; | 62 | unsigned int console_mode = 0; |
@@ -641,6 +647,7 @@ setup_arch(char **cmdline_p) | |||
641 | 647 | ||
642 | memory_end = memory_size; | 648 | memory_end = memory_size; |
643 | 649 | ||
650 | memcpy(&uaccess, &uaccess_std, sizeof(uaccess)); | ||
644 | parse_early_param(); | 651 | parse_early_param(); |
645 | 652 | ||
646 | #ifndef CONFIG_64BIT | 653 | #ifndef CONFIG_64BIT |