summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@de.ibm.com>2006-12-04 15:40:05 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-12-04 15:40:05 +0100
commit3902e47628dcaf79b2c7a6a59f6978d968eff288 (patch)
treee7ed51f37db4e1e6290a27a6ba78ce979eff5eb0 /arch/s390/kernel/ipl.c
parent654452a48aa2bbfa276016a1e35d8988ff991ebb (diff)
[S390] No panic for failed reboot
If reboot fails (e.g. because wrong devno has been specified by the user), we should just stop all cpus, but should not trigger a kernel panic. Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r--arch/s390/kernel/ipl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index 36f0d3004f94..60ba1454bfe1 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -697,7 +697,8 @@ void do_reipl(void)
diag308(DIAG308_IPL, NULL);
break;
}
- panic("reipl failed!\n");
+ printk(KERN_EMERG "reboot failed!\n");
+ signal_processor(smp_processor_id(), sigp_stop_and_store_status);
}
static void do_dump(void)