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 ine147ec8f18
"[POWERPC] Simplify smp_space_timers". We still passed the value around until June 2010 when even that was finally removed inc1aa687d49
"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>
This commit is contained in:
@@ -57,7 +57,7 @@ static void ps3_smp_message_pass(int cpu, int msg)
|
||||
" (%d)\n", __func__, __LINE__, cpu, msg, result);
|
||||
}
|
||||
|
||||
static int __init ps3_smp_probe(void)
|
||||
static void __init ps3_smp_probe(void)
|
||||
{
|
||||
int cpu;
|
||||
|
||||
@@ -100,8 +100,6 @@ static int __init ps3_smp_probe(void)
|
||||
|
||||
DBG(" <- %s:%d: (%d)\n", __func__, __LINE__, cpu);
|
||||
}
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
||||
void ps3_smp_cleanup_cpu(int cpu)
|
||||
|
Reference in New Issue
Block a user