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 | |
parent | 8771b72dbb802efe3645ab9ab69b0cae145448c9 (diff) |
SMP debugging enhancements.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips64/kernel/traps.c | 5 | ||||
-rw-r--r-- | arch/mips64/mm/andes.c | 1 | ||||
-rw-r--r-- | arch/mips64/mm/fault.c | 1 |
3 files changed, 4 insertions, 3 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; diff --git a/arch/mips64/mm/andes.c b/arch/mips64/mm/andes.c index 17b88ba94..7e4d4122f 100644 --- a/arch/mips64/mm/andes.c +++ b/arch/mips64/mm/andes.c @@ -398,6 +398,7 @@ andes_user_mode(struct pt_regs *regs) static void andes_show_regs(struct pt_regs *regs) { + printk("Cpu %d\n", smp_processor_id()); /* Saved main processor registers. */ printk("$0 : %016lx %016lx %016lx %016lx\n", 0UL, regs->regs[1], regs->regs[2], regs->regs[3]); diff --git a/arch/mips64/mm/fault.c b/arch/mips64/mm/fault.c index e30138502..fcddf6fa5 100644 --- a/arch/mips64/mm/fault.c +++ b/arch/mips64/mm/fault.c @@ -158,7 +158,6 @@ no_context: printk(KERN_ALERT "Cpu %d Unable to handle kernel paging request at " "address %08lx, epc == %08lx, ra == %08lx\n", smp_processor_id(), address, regs->cp0_epc, regs->regs[31]); -while(1); die("Oops", regs, write); do_exit(SIGKILL); |