Skip to contentSkip to conversation

Clean up syslog output of

PATCH John David Anglin 1 participant 1 message Jul 23, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 13 lines

Hi Joel,

Review

Quoted 6 lines · Joel Soete

Just try your patch against latest 2.6.22-pa1 and it seems that:
enum bug_trap_type tt;

(quoted diff) +1 -1
-		tt = report_bug(regs->iaoq[0] & ~3, regs);
+		tt = report_bug(instruction_pointer(regs), regs);

should be

(quoted diff) +1 -0
+		tt = report_bug(instruction_pointer(regs));

Why ?
In include/linux/bug.h the function report_bug() is defined as:
report_bug(unsigned long bug_addr, struct pt_regs *regs)

In 2.6.22.1, it's defined as:
enum bug_trap_type report_bug(unsigned long bug_addr);

I had to make the same change as Joel.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)