|
@@ -533,6 +533,12 @@ static void __init pSeries_setup_arch(void)
|
|
ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare;
|
|
ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static void pseries_panic(char *str)
|
|
|
|
+{
|
|
|
|
+ panic_flush_kmsg_end();
|
|
|
|
+ rtas_os_term(str);
|
|
|
|
+}
|
|
|
|
+
|
|
static int __init pSeries_init_panel(void)
|
|
static int __init pSeries_init_panel(void)
|
|
{
|
|
{
|
|
/* Manually leave the kernel version on the panel. */
|
|
/* Manually leave the kernel version on the panel. */
|
|
@@ -761,7 +767,7 @@ define_machine(pseries) {
|
|
.pcibios_fixup = pSeries_final_fixup,
|
|
.pcibios_fixup = pSeries_final_fixup,
|
|
.restart = rtas_restart,
|
|
.restart = rtas_restart,
|
|
.halt = rtas_halt,
|
|
.halt = rtas_halt,
|
|
- .panic = rtas_os_term,
|
|
|
|
|
|
+ .panic = pseries_panic,
|
|
.get_boot_time = rtas_get_boot_time,
|
|
.get_boot_time = rtas_get_boot_time,
|
|
.get_rtc_time = rtas_get_rtc_time,
|
|
.get_rtc_time = rtas_get_rtc_time,
|
|
.set_rtc_time = rtas_set_rtc_time,
|
|
.set_rtc_time = rtas_set_rtc_time,
|