[PATCH] ftrace, powerpc64: fix math to calculate offset in TOC

Remis Lima Baima remisbaima at gmail.com
Tue Feb 10 00:08:26 EST 2009


I have just tried the patch here and everything worked great!
Very well done.

On Mon, Feb 9, 2009 at 10:40 AM, Ingo Molnar <mingo at elte.hu> wrote:
>
> * Steven Rostedt <rostedt at goodmis.org> wrote:
>
>>
>> Paul,
>>
>> I found the bug that was causing large modules to fail in setting
>> up dynamic ftrace. It wound up being a simple math error. To calculate
>> the offset in the TOC, I had used an OR, but the bottom half was
>> a signed extended short, and it should have been an addition.
>> The fix is in my tree below, as well as posted here.
>
> Looks like a .29 candidate?
>
>        Ingo

I agree. A functional ("out-of-the-box") dynamic-ftrace helps quite a lot ;-)


Regards,
Remis



More information about the Linuxppc-dev mailing list