Re: [PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-24 Thread Steven Rostedt
On Mon, 24 Nov 2008, Paul Mackerras wrote: > Steven Rostedt writes: > > > Thanks to Paul Mackennas for pointing out the mistakes of my original > > Mackerras Heh, I have two reasons for that typo. 1) I reference Paul McKenney a lot, and my fingers are programmed. 2) I type with the dvorak l

Re: [PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-23 Thread Michael Ellerman
On Mon, 2008-11-24 at 12:43 +1100, Paul Mackerras wrote: > Steven Rostedt writes: > > > Thanks to Paul Mackennas for pointing out the mistakes of my original > > Mackerras > > > +static int test_24bit_addr(unsigned long ip, unsigned long addr) > > +{ > > + long diff; > > + > > + /* > > +

Re: [PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-23 Thread Paul Mackerras
Steven Rostedt writes: > Thanks to Paul Mackennas for pointing out the mistakes of my original Mackerras > +static int test_24bit_addr(unsigned long ip, unsigned long addr) > +{ > + long diff; > + > + /* > + * Can we get to addr from ip in 24 bits? > + * (26 really, since we m

[PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: update to PowerPC ftrace arch API This patch converts PowerPC to use the new dynamic ftrace arch API. Thanks to Paul Mackennas for pointing out the mistakes of my original test_24bit_addr function. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]