[PATCH] Implement GET_IP/SET_IP for powerpc architecture.

Mike Frysinger vapier at gentoo.org
Fri Feb 3 04:02:13 EST 2012


On Thursday 02 February 2012 11:36:59 Srikar Dronamraju wrote:
> * Mike Frysinger <vapier at gentoo.org> [2012-02-02 11:28:46]:
> > On Thursday 02 February 2012 09:41:25 Srikar Dronamraju wrote:
> > > +#define profile_pc(regs) GET_IP(regs)
> > 
> > pretty sure you don't need this as asm-generic/ptrace.h already has a
> > definition for you
> 
> On ppc64, profile_pc is an extern function if CONFIG_SMP is set.
> else its same as whats defined in asm-generic/ptrace.h

the code i quoted was from !CONFIG_SMP
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20120202/3bd4794d/attachment-0001.pgp>


More information about the Linuxppc-dev mailing list