# This is a BitKeeper generated patch for the following project: # Project Name: Linux 2.4 # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.125 -> 1.126 # arch/ppc/kernel/process.c 1.17 -> 1.18 # arch/ppc/kernel/traps.c 1.13 -> 1.14 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 01/06/05 trini@bill-the-cat.bloom.county 1.126 # 02-printbt.patch # -------------------------------------------- # diff -Nru a/arch/ppc/kernel/process.c b/arch/ppc/kernel/process.c --- a/arch/ppc/kernel/process.c Tue Jun 5 14:37:23 2001 +++ b/arch/ppc/kernel/process.c Tue Jun 5 14:37:23 2001 @@ -289,7 +289,8 @@ printk("\n"); } } -out: ; +out: + print_backtrace((unsigned long *)regs->gpr[1]); } void exit_thread(void) diff -Nru a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c --- a/arch/ppc/kernel/traps.c Tue Jun 5 14:37:23 2001 +++ b/arch/ppc/kernel/traps.c Tue Jun 5 14:37:23 2001 @@ -82,7 +82,6 @@ spin_lock_irq(&oops_lock); printk("Oops: %s, sig: %ld\n", str, err); show_regs(fp); - print_backtrace((unsigned long *)fp->gpr[1]); spin_unlock_irq(&oops_lock); /* do_exit() should take care of panic'ing from an interrupt * context so we don't handle it here @@ -186,7 +185,6 @@ } #endif show_regs(regs); - print_backtrace((unsigned long *)regs->gpr[1]); panic("System Management Interrupt"); } @@ -334,7 +332,6 @@ debugger(regs); #endif show_regs(regs); - print_backtrace((unsigned long *)regs->gpr[1]); panic("kernel stack overflow"); }