projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654452a
)
[S390] No panic for failed reboot
author
Michael Holzheu
<holzheu@de.ibm.com>
Mon, 4 Dec 2006 14:40:05 +0000
(15:40 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:05 +0000
(15:40 +0100)
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>
arch/s390/kernel/ipl.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/ipl.c
b/arch/s390/kernel/ipl.c
index 36f0d3004f947e42304e407c5693f40249ff91f2..60ba1454bfe1513a830c33eef1aca694afd75862 100644
(file)
--- 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)