]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7ec6845187a26f54c7d50a561f4ddc986cf182f
treef399c9c492b9a3397a0974981049b2adaddf279d
parentda87e3666d90ea6592e04b27735e83b1d8060d5a
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