[PATCH] [PARISC] Clean up syslog output of

Joel Soete <[email protected]> Sun, 22 Jul 2007 12:01:33 +0000
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
Hello Helge,

Just try your patch against latest 2.6.22-pa1 and it seems that:
@@ -303,7 +301,7 @@ static void handle_break(struct pt_regs *regs)
  	if (unlikely(iir == PARISC_BUG_BREAK_INSN && !user_mode(regs))) {
  		/* check if a BUG() or WARN() trapped here.  */
  		enum bug_trap_type tt;
-		tt = report_bug(regs->iaoq[0] & ~3, regs);
+		tt = report_bug(instruction_pointer(regs), regs);

should be
+		tt = report_bug(instruction_pointer(regs));

Hth,
	J.