Skip to content
Commit 78f62237 authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/fsl-booke: Move loadcam_entry back to asm code to fix SMP ftrace



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.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 78e2e68a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment