powerpc: Drop return value of smp_ops->probe()
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 4 Apr 2015 08:28:50 +0000 (19:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Apr 2015 10:02:49 +0000 (20:02 +1000)
commita7f4ee1fe93aa9ae191971be9324edb8f9fbcb4a
treed462b76619518d4d35a1cadb026297c77c2f7816
parent7261b956b276aa97fbf60d00f1d7717d2ea6ee78
powerpc: Drop return value of smp_ops->probe()

smp_ops->probe() is currently supposed to return the number of cpus in
the system.

The last actual usage of the value was removed in May 2007 in e147ec8f1808
"[POWERPC] Simplify smp_space_timers". We still passed the value around
until June 2010 when even that was finally removed in c1aa687d499a
"powerpc: Clean up obsolete code relating to decrementer and timebase".

So drop that requirement, probe() now returns void, and update all
implementations.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/smp.h
arch/powerpc/include/asm/xics.h
arch/powerpc/platforms/cell/smp.c
arch/powerpc/platforms/powermac/smp.c
arch/powerpc/platforms/ps3/smp.c
arch/powerpc/platforms/pseries/smp.c
arch/powerpc/sysdev/mpic.c
arch/powerpc/sysdev/xics/xics-common.c