m68knommu: start dump from exception stack
PATCH RESEND 1/1 m68knommu: start dump from exception stack
In die_if_kernel() start the stack dump at the exception-time SP, not at the SP with all the saved registers; the stack below exception-time sp contains only exception-saved values and is already printed in details just before.
Signed-off-by Philippe De Muyter <[email protected]>
Signed-off-by Greg Ungerer <[email protected]>
---
arch/m68knommu/kernel/traps.c +1 -1
@@ -82,7 +80,7 @@printk (KERN_EMERG "Process %s (pid: %d, stackpage=%08lx)\n" , current->comm, current->pid,PAGE_SIZE +(unsigned long )current); -show_stack (NULL , (unsigned long *)fp); +show_stack (NULL , (unsigned long *)(fp+1 ));do_exit (SIGSEGV ); }