diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2009-03-26 10:24:22 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:18 -0400 |
commit | 4b2a8b6043979f1e6cc8aaa4116c95b31ae942ec (patch) | |
tree | 41045e6d0a16b0e61ec4c8705711044f43886827 /arch/s390/kernel/setup.c | |
parent | 8283cb43ab3e92a039d3486a0f6253df95a5fa55 (diff) |
[S390] kernel: Disable switch_amode by default
Disable switch_amode by default because pagetable walk on pre z9
hardware has negative performance impact.
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 0b8ad7b4f8f3..dd3c51736270 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -301,11 +301,7 @@ static int __init early_parse_mem(char *p) | |||
301 | early_param("mem", early_parse_mem); | 301 | early_param("mem", early_parse_mem); |
302 | 302 | ||
303 | #ifdef CONFIG_S390_SWITCH_AMODE | 303 | #ifdef CONFIG_S390_SWITCH_AMODE |
304 | #ifdef CONFIG_PGSTE | ||
305 | unsigned int switch_amode = 1; | ||
306 | #else | ||
307 | unsigned int switch_amode = 0; | 304 | unsigned int switch_amode = 0; |
308 | #endif | ||
309 | EXPORT_SYMBOL_GPL(switch_amode); | 305 | EXPORT_SYMBOL_GPL(switch_amode); |
310 | 306 | ||
311 | static int set_amode_and_uaccess(unsigned long user_amode, | 307 | static int set_amode_and_uaccess(unsigned long user_amode, |