aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-01-05 06:48:00 -0500
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-05 06:47:29 -0500
commitf3e1a273594c7d82b07102bd03e8adfe681f2864 (patch)
treef846796b8751fc9f64f3eed1e1c9344620688b9f
parentaa3a41d009d433dd9775b356b2d70551816f1f3c (diff)
[S390] nmi: enable machine checks early
Until now machine checks for the swapper process of the IPL cpu are just implicitly (and more or less accidently) enabled when the first time the idle process goes into idle state and loads an enabled wait psw. Before that machine checks are disabled. So let's enable them explicitly in trap_init() so we have a well defined time when machine checks are enabled. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/traps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c
index f6342ec084a4..4f0cecb4f9e0 100644
--- a/arch/s390/kernel/traps.c
+++ b/arch/s390/kernel/traps.c
@@ -733,4 +733,6 @@ void __init trap_init(void)
733 pgm_check_table[0x15] = &operand_exception; 733 pgm_check_table[0x15] = &operand_exception;
734 pgm_check_table[0x1C] = &space_switch_exception; 734 pgm_check_table[0x1C] = &space_switch_exception;
735 pgm_check_table[0x1D] = &hfp_sqrt_exception; 735 pgm_check_table[0x1D] = &hfp_sqrt_exception;
736 /* Enable machine checks early. */
737 local_mcck_enable();
736} 738}