[parisc-linux] [PATCH] [PARISC] Clean up syslog output of

John David Anglin dave at hiauly1.hia.nrc.ca
Mon Jul 23 14:47:03 MDT 2007


> Hi Joel,
> 
> On Sunday 22 July 2007, Joel Soete wrote:
> > Just try your patch against latest 2.6.22-pa1 and it seems that:
> >   		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));
> 
> 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
-- 
J. David Anglin                                  dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the parisc-linux mailing list