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/runtime_instr.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/runtime_instr.c')
-rw-r--r-- | arch/s390/kernel/runtime_instr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/runtime_instr.c b/arch/s390/kernel/runtime_instr.c index e1c9d1c292fa..d817cce7e72d 100644 --- a/arch/s390/kernel/runtime_instr.c +++ b/arch/s390/kernel/runtime_instr.c | |||
@@ -40,8 +40,6 @@ static void disable_runtime_instr(void) | |||
40 | static void init_runtime_instr_cb(struct runtime_instr_cb *cb) | 40 | static void init_runtime_instr_cb(struct runtime_instr_cb *cb) |
41 | { | 41 | { |
42 | cb->buf_limit = 0xfff; | 42 | cb->buf_limit = 0xfff; |
43 | if (s390_user_mode == HOME_SPACE_MODE) | ||
44 | cb->home_space = 1; | ||
45 | cb->int_requested = 1; | 43 | cb->int_requested = 1; |
46 | cb->pstate = 1; | 44 | cb->pstate = 1; |
47 | cb->pstate_set_buf = 1; | 45 | cb->pstate_set_buf = 1; |