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

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 29 May 2008 16:37:17 +1000

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-by: Michael Ellerman <[email-masked]>

Should we be smarter and also compare if the TOC pointer is the same
between the source and target and if not, warn loudly ?

Or we just don't care ?

Ben.