Re: [PATCH] [PARISC] Clean up syslog output of

"John David Anglin" <[email protected]> Mon, 23 Jul 2007 16:47:03 -0400 (EDT)
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
> 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                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)