powerpc/pmac: Fix issues with PowerMac "PowerSurge" SMP
The old PowerSurge SMP (ie, dual or quad 604 machines) code has numerous issues in modern world. One is cpu_possible_map is set too late (the device-tree is bogus) so we fail to allocate the interrupt stacks and crash. Another problem is the fact the timebase is frozen by the bringup of the second CPU so the delays in the generic code will hang, we need to move some of the calling procedure to inside the powermac code. This makes it boot again for me Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@ -68,7 +68,8 @@ EXPORT_PER_CPU_SYMBOL(cpu_core_map);
|
||||
/* SMP operations for this machine */
|
||||
struct smp_ops_t *smp_ops;
|
||||
|
||||
static volatile unsigned int cpu_callin_map[NR_CPUS];
|
||||
/* Can't be static due to PowerMac hackery */
|
||||
volatile unsigned int cpu_callin_map[NR_CPUS];
|
||||
|
||||
int smt_enabled_at_boot = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user