diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
| -rw-r--r-- | arch/s390/kernel/setup.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 09e2f468f48b..f70f2489fa5f 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
| @@ -47,7 +47,6 @@ | |||
| 47 | #include <linux/compat.h> | 47 | #include <linux/compat.h> |
| 48 | 48 | ||
| 49 | #include <asm/ipl.h> | 49 | #include <asm/ipl.h> |
| 50 | #include <asm/uaccess.h> | ||
| 51 | #include <asm/facility.h> | 50 | #include <asm/facility.h> |
| 52 | #include <asm/smp.h> | 51 | #include <asm/smp.h> |
| 53 | #include <asm/mmu_context.h> | 52 | #include <asm/mmu_context.h> |
| @@ -65,12 +64,6 @@ | |||
| 65 | #include "entry.h" | 64 | #include "entry.h" |
| 66 | 65 | ||
| 67 | /* | 66 | /* |
| 68 | * User copy operations. | ||
| 69 | */ | ||
| 70 | struct uaccess_ops uaccess; | ||
| 71 | EXPORT_SYMBOL(uaccess); | ||
| 72 | |||
| 73 | /* | ||
| 74 | * Machine setup.. | 67 | * Machine setup.. |
| 75 | */ | 68 | */ |
| 76 | unsigned int console_mode = 0; | 69 | unsigned int console_mode = 0; |
| @@ -294,14 +287,6 @@ static int __init parse_vmalloc(char *arg) | |||
| 294 | } | 287 | } |
| 295 | early_param("vmalloc", parse_vmalloc); | 288 | early_param("vmalloc", parse_vmalloc); |
| 296 | 289 | ||
| 297 | static int __init early_parse_user_mode(char *p) | ||
| 298 | { | ||
| 299 | if (!p || strcmp(p, "primary") == 0) | ||
| 300 | return 0; | ||
| 301 | return 1; | ||
| 302 | } | ||
| 303 | early_param("user_mode", early_parse_user_mode); | ||
| 304 | |||
| 305 | void *restart_stack __attribute__((__section__(".data"))); | 290 | void *restart_stack __attribute__((__section__(".data"))); |
| 306 | 291 | ||
| 307 | static void __init setup_lowcore(void) | 292 | static void __init setup_lowcore(void) |
| @@ -1009,8 +994,6 @@ void __init setup_arch(char **cmdline_p) | |||
| 1009 | init_mm.end_data = (unsigned long) &_edata; | 994 | init_mm.end_data = (unsigned long) &_edata; |
| 1010 | init_mm.brk = (unsigned long) &_end; | 995 | init_mm.brk = (unsigned long) &_end; |
| 1011 | 996 | ||
| 1012 | uaccess = MACHINE_HAS_MVCOS ? uaccess_mvcos : uaccess_pt; | ||
| 1013 | |||
| 1014 | parse_early_param(); | 997 | parse_early_param(); |
| 1015 | detect_memory_layout(memory_chunk, memory_end); | 998 | detect_memory_layout(memory_chunk, memory_end); |
| 1016 | os_info_init(); | 999 | os_info_init(); |
