public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* print CPU number when warning of hazards
@ 2004-07-14 21:50 Joshua Aas
  2004-07-14 23:29 ` David Mosberger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joshua Aas @ 2004-07-14 21:50 UTC (permalink / raw)
  To: linux-ia64

Hello,

The following patch would be useful for diagnostics. Please apply.

Signed-off-by: Josh Aas <josha@sgi.com>

-----------------------------------
--- a/arch/ia64/kernel/traps.c       2004-06-16 00:20:04.000000000 -0500
+++ b/arch/ia64/kernel/traps.c  2004-07-14 15:39:58.000000000 -0500
@@ -427,9 +427,9 @@ ia64_fault (unsigned long vector, unsign
                                       ? " (RSE access)" : " (data access)") : "");
                if (code = 8) {
 # ifdef CONFIG_IA64_PRINT_HAZARDS
-                       printk("%s[%d]: possible hazard @ ip=%016lx (pr = %016lx)\n",
+                       printk("%s[%d]: possible hazard @ ip=%016lx (pr = %016lx) on CPU %d\n",
                               current->comm, current->pid, regs->cr_iip + ia64_psr(regs)->ri,
-                              regs->pr);
+                              regs->pr, smp_processor_id());
 # endif
                        return;
                }
-----------------------------------

-- 
Josh Aas
Silicon Graphics, Inc. (SGI)
Linux System Software
651-683-3068

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-15 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-14 21:50 print CPU number when warning of hazards Joshua Aas
2004-07-14 23:29 ` David Mosberger
2004-07-15 14:57 ` Joshua Aas
2004-07-15 17:46 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox