powerpc/booke: Restrict SPE exception handlers to e200/e500 cores
authorMihai Caraman <mihai.caraman@freescale.com>
Wed, 20 Aug 2014 13:09:03 +0000 (16:09 +0300)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Sep 2014 08:11:31 +0000 (10:11 +0200)
commit3477e71d53197d7f1b6a1f7416f3c42ffec5f221
tree6d631508d9c45db127e70fc9fd3198994d4d323e
parent2c5096720f3e325df697881cc2a5b3d810b57109
powerpc/booke: Restrict SPE exception handlers to e200/e500 cores

SPE exception handlers are now defined for 32-bit e500mc cores even though
SPE unit is not present and CONFIG_SPE is undefined.

Restrict SPE exception handlers to e200/e500 cores adding CONFIG_SPE_POSSIBLE
and consequently guard __stup_ivors and __setup_cpu functions.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/cpu_setup_fsl_booke.S
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/platforms/Kconfig.cputype