[PATCH] UBUNTU: SAUCE: 85xx: Only use generic tbsync routines on PPC32
Ben Collins
bcollins at ubuntu.com
Mon Jun 23 15:19:00 UTC 2014
Fixes build failure on powerpc64-emb
Signed-off-by: Ben Collins <ben.c at servergy.com>
---
arch/powerpc/platforms/85xx/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c
index 2ad6844..ab4de2f 100644
--- a/arch/powerpc/platforms/85xx/smp.c
+++ b/arch/powerpc/platforms/85xx/smp.c
@@ -297,7 +297,7 @@ struct smp_ops_t smp_85xx_ops = {
.cpu_disable = generic_cpu_disable,
.cpu_die = generic_cpu_die,
#endif
-#ifdef CONFIG_KEXEC
+#if defined(CONFIG_KEXEC) && defined(CONFIG_PPC32)
.give_timebase = smp_generic_give_timebase,
.take_timebase = smp_generic_take_timebase,
#endif
--
1.9.1
More information about the kernel-team
mailing list