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>
Fri, 14 May 2010 04:25:07 +0000 (23:25 -0500)
commit500a0e56c36dabb8cb0d8f3c93aac900058ef7af
tree987cb9542aa9edc9228df5e9d6d00c980a2d8e64
parentfa6bd996db2fbecd7a9a408c158105c55a51fe41
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