mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] s390: kernel stack overflow panic
die() doesn't return, therefore print registers and then panic instead. Signed-off-by: Martin Schwidefsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
14651c798a
commit
77eb65cbc1
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
bust_spinlocks(1);
|
||||
printk("Kernel stack overflow.\n");
|
||||
show_regs(regs);
|
||||
bust_spinlocks(0);
|
||||
panic("Corrupt kernel stack, can't continue.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue