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:
@@ -146,7 +146,7 @@ extern void xics_update_irq_servers(void);
|
||||
extern void xics_set_cpu_giq(unsigned int gserver, unsigned int join);
|
||||
extern void xics_mask_unknown_vec(unsigned int vec);
|
||||
extern irqreturn_t xics_ipi_dispatch(int cpu);
|
||||
extern int xics_smp_probe(void);
|
||||
extern void xics_smp_probe(void);
|
||||
extern void xics_register_ics(struct ics *ics);
|
||||
extern void xics_teardown_cpu(void);
|
||||
extern void xics_kexec_teardown_cpu(int secondary);
|
||||
|
Reference in New Issue
Block a user