Commit 77eb65cb authored by Heiko Carstens's avatar Heiko Carstens Committed by Linus Torvalds
Browse files

[PATCH] s390: kernel stack overflow panic

die() doesn't return, therefore print registers and then panic instead.
Signed-off-by: default avatarMartin Schwidefsky <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 14651c79
......@@ -668,7 +668,10 @@ asmlinkage void space_switch_exception(struct pt_regs * regs, long int_code)
asmlinkage void kernel_stack_overflow(struct pt_regs * regs)
die("Kernel stack overflow", regs, 0);
printk("Kernel stack overflow.\n");
panic("Corrupt kernel stack, can't continue.");
Markdown is supported
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