On Wed, 2014-08-20 at 16:09 +0300, Mihai Caraman wrote:
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 <redacted>
Cc: Scott Wood <redacted>
Cc: Alexander Graf <redacted>
---
v2:
- use CONFIG_PPC_E500MC without CONFIG_E500
- use elif defined()
arch/powerpc/kernel/cpu_setup_fsl_booke.S | 12 +++++++++++-
arch/powerpc/kernel/cputable.c | 5 +++++
arch/powerpc/kernel/head_fsl_booke.S | 18 +++++++++++++-----
arch/powerpc/platforms/Kconfig.cputype | 6 +++++-
4 files changed, 34 insertions(+), 7 deletions(-)
Acked-by: Scott Wood <redacted>
-Scott