diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-05-01 19:33:22 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-05-01 19:33:22 +0000 |
commit | 2a769dd10fa520f21b233d9b24970f6d18f3f644 (patch) | |
tree | 6114b9b4f634920eddb0603a136600e959bba8b5 /arch/mips64/kernel/traps.c | |
parent | 8771b72dbb802efe3645ab9ab69b0cae145448c9 (diff) |
SMP debugging enhancements.
Diffstat (limited to 'arch/mips64/kernel/traps.c')
-rw-r--r-- | arch/mips64/kernel/traps.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips64/kernel/traps.c b/arch/mips64/kernel/traps.c index 0fda088df..88a17ecc8 100644 --- a/arch/mips64/kernel/traps.c +++ b/arch/mips64/kernel/traps.c @@ -328,8 +328,9 @@ void do_tr(struct pt_regs *regs) void do_ri(struct pt_regs *regs) { lock_kernel(); - printk("[%s:%ld] Illegal instruction at %08lx ra=%08lx\n", - current->comm, current->pid, regs->cp0_epc, regs->regs[31]); + printk("Cpu%d[%s:%ld] Illegal instruction at %08lx ra=%08lx\n", + smp_processor_id(), current->comm, current->pid, regs->cp0_epc, + regs->regs[31]); unlock_kernel(); if (compute_return_epc(regs)) return; |