aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@de.ibm.com>2006-12-04 09:40:05 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-12-04 09:40:05 -0500
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)
697 diag308(DIAG308_IPL, NULL); 697 diag308(DIAG308_IPL, NULL);
698 break; 698 break;
699 } 699 }
700 panic("reipl failed!\n"); 700 printk(KERN_EMERG "reboot failed!\n");
701 signal_processor(smp_processor_id(), sigp_stop_and_store_status);
701} 702}
702 703
703static void do_dump(void) 704static void do_dump(void)