Re: [PATCH 4/6] Add ppc_function_entry() which gets the entry point for a function

2008-05-28 Thread Michael Ellerman
On Thu, 2008-05-29 at 16:37 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2008-05-29 at 16:20 +1000, Michael Ellerman wrote: > > Because function pointers point to different things on 32-bit vs > > 64-bit, > > add a macro that deals with dereferencing the OPD on 64-bit. The soon > > to > > be merg

Re: [PATCH 4/6] Add ppc_function_entry() which gets the entry point for a function

2008-05-28 Thread Benjamin Herrenschmidt
On Thu, 2008-05-29 at 16:20 +1000, Michael Ellerman wrote: > Because function pointers point to different things on 32-bit vs > 64-bit, > add a macro that deals with dereferencing the OPD on 64-bit. The soon > to > be merged ftrace wants this, as well as other code I am working on. > > Signed-off-

[PATCH 4/6] Add ppc_function_entry() which gets the entry point for a function

2008-05-28 Thread Michael Ellerman
Because function pointers point to different things on 32-bit vs 64-bit, add a macro that deals with dereferencing the OPD on 64-bit. The soon to be merged ftrace wants this, as well as other code I am working on. Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]> --- include/asm-powerpc/code-pa