powerpc/booke: Separate out restore_e5500/setup_e5500 routines.
authorVarun Sethi <Varun.Sethi@freescale.com>
Mon, 9 Jul 2012 13:01:51 +0000 (18:31 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 Sep 2012 19:57:09 +0000 (14:57 -0500)
commit0778407f836d632cce90e5d9df490a7c5e6e398a
tree1f1a6897abb055cb9230b75c8839eca10250df13
parent2c71b0cc4a626d8bd02b88b3b92ce18be4d54c6d
powerpc/booke: Separate out restore_e5500/setup_e5500 routines.

For the 64 bit case separate out e5500 cpu_setup and cpu_restore functions.
The cpu_setup function (for the primary core) is passed the cpu_spec
pointer, which is not there in case of the cpu_restore function. Also, in
our case we will have to manipulate the CPU_FTR_EMB_HV flag on the primary
core.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/cpu_setup_fsl_booke.S
arch/powerpc/kernel/exceptions-64e.S