Commit 3902e476 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky
Browse files

[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: default avatarMichael Holzheu <>
Signed-off-by: default avatarMartin Schwidefsky <>
parent 654452a4
...@@ -697,7 +697,8 @@ void do_reipl(void) ...@@ -697,7 +697,8 @@ void do_reipl(void)
diag308(DIAG308_IPL, NULL); diag308(DIAG308_IPL, NULL);
break; 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) static void do_dump(void)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment