Re: [PATCH 04/14] powerpc: Add ppc_function_entry() which gets the entry point for a function

2008-06-24 Thread Kumar Gala
On Jun 23, 2008, at 8:32 PM, 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-by: Michael

[PATCH 04/14] powerpc: Add ppc_function_entry() which gets the entry point for a function

2008-06-23 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