[PATCH] powerpc/fsl-booke: Move loadcam_entry back to asm code to fix SMP ftrace
Michael Ellerman
michael at ellerman.id.au
Thu May 27 00:59:30 EST 2010
On Mon, 2010-05-24 at 13:38 -0500, Kumar Gala wrote:
> When we build with ftrace enabled its possible that loadcam_entry would
> have used the stack pointer (even though the code doesn't need it). We
> call loadcam_entry in __secondary_start before the stack is setup. To
> ensure that loadcam_entry doesn't use the stack pointer the easiest
> solution is to just have it in asm code.
You could move it to a separate file and have that not built with the
ftrace options (-pg etc.) - but maybe that's not easier.
cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100527/767f5d41/attachment.pgp>
More information about the Linuxppc-dev
mailing list