powerpc/85xx: Fix SMP compile error and allow NULL for smp_ops
commit757cbd46d11cfa7506b7dd5dd6657ae645bf6a17
authorKumar Gala <galak@kernel.crashing.org>
Tue, 8 Sep 2009 17:38:52 +0000 (8 17:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Sep 2009 01:27:57 +0000 (11 11:27 +1000)
treee8d13af7e6fcf5ef34f24dc4f2538b9f1f31d4c1
parent8708d002c416b8bf87351bc626d15d7407896edb
powerpc/85xx: Fix SMP compile error and allow NULL for smp_ops

The following commit introduced a compile error since it removed
the implementation of smp_85xx_basic_setup:

commit 77c0a700c1c292edafa11c1e52821ce4636f81b0
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date:   Fri Aug 28 14:25:04 2009 +1000

    powerpc: Properly start decrementer on BookE secondary CPUs

Make it so that smp_ops probe() and setup_cpu() can be set to NULL.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/85xx/smp.c