diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-09-24 03:14:56 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 11:16:57 -0400 |
commit | e258d719ff28ecc7a048eb8f78380e68c4b3a3f0 (patch) | |
tree | 1c7f496b97cef1111b230371940e603a2ca401a4 /arch/s390/kernel/ipl.c | |
parent | 7d7c7b24e416afb2637be8447e03ca4457c100fd (diff) |
s390/uaccess: always run the kernel in home space
Simplify the uaccess code by removing the user_mode=home option.
The kernel will now always run in the home space mode.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r-- | arch/s390/kernel/ipl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index feb719d3c851..633ca7504536 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -2051,12 +2051,12 @@ void s390_reset_system(void (*func)(void *), void *data) | |||
2051 | __ctl_clear_bit(0,28); | 2051 | __ctl_clear_bit(0,28); |
2052 | 2052 | ||
2053 | /* Set new machine check handler */ | 2053 | /* Set new machine check handler */ |
2054 | S390_lowcore.mcck_new_psw.mask = psw_kernel_bits | PSW_MASK_DAT; | 2054 | S390_lowcore.mcck_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; |
2055 | S390_lowcore.mcck_new_psw.addr = | 2055 | S390_lowcore.mcck_new_psw.addr = |
2056 | PSW_ADDR_AMODE | (unsigned long) s390_base_mcck_handler; | 2056 | PSW_ADDR_AMODE | (unsigned long) s390_base_mcck_handler; |
2057 | 2057 | ||
2058 | /* Set new program check handler */ | 2058 | /* Set new program check handler */ |
2059 | S390_lowcore.program_new_psw.mask = psw_kernel_bits | PSW_MASK_DAT; | 2059 | S390_lowcore.program_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; |
2060 | S390_lowcore.program_new_psw.addr = | 2060 | S390_lowcore.program_new_psw.addr = |
2061 | PSW_ADDR_AMODE | (unsigned long) s390_base_pgm_handler; | 2061 | PSW_ADDR_AMODE | (unsigned long) s390_base_pgm_handler; |
2062 | 2062 | ||