powerpc/fsl-booke: Move loadcam_entry back to asm code to fix SMP ftrace
authorKumar Gala <galak@kernel.crashing.org>
Thu, 13 May 2010 19:38:21 +0000 (14:38 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 17 May 2010 15:56:20 +0000 (10:56 -0500)
commit78f622377f7d31d988db350a43c5689dd5f31876
treef399c9c492b9a3397a0974981049b2adaddf279d
parent78e2e68a2b79f394b7cd61e07987a8a89af907f7
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: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/mm/fsl_booke_mmu.c
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/tlb_nohash_low.S