9b6695a8ad
A recent change requires cpu_possible_map to be initialized before smp_sched_init() but most MIPS platforms were initializing their processors in the prom_prepare_cpus callback of smp_prepare_cpus. The simple fix of calling prom_prepare_cpus from one of the earlier SMP initialization hooks doesn't work well either since IPIs may require init_IRQ() to have completed, so bit the bullet and split prom_prepare_cpus into two initialization functions, plat_smp_setup which is called early from setup_arch and plat_prepare_cpus called where prom_prepare_cpus used to be called. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
Makefile | ||
atmel_read_eeprom.c | ||
atmel_read_eeprom.h | ||
dbg_io.c | ||
ht-irq.c | ||
ht.c | ||
i2c-yosemite.c | ||
i2c-yosemite.h | ||
irq-handler.S | ||
irq.c | ||
prom.c | ||
py-console.c | ||
setup.c | ||
setup.h | ||
smp.c |