|
@@ -646,7 +646,7 @@ static int pmac_pci_probe_mode(struct pci_bus *bus)
|
|
|
/* access per cpu vars from generic smp.c */
|
|
|
DECLARE_PER_CPU(int, cpu_state);
|
|
|
|
|
|
-static void pmac_cpu_die(void)
|
|
|
+static void pmac64_cpu_die(void)
|
|
|
{
|
|
|
/*
|
|
|
* turn off as much as possible, we'll be
|
|
@@ -717,8 +717,13 @@ define_machine(powermac) {
|
|
|
.pcibios_after_init = pmac_pcibios_after_init,
|
|
|
.phys_mem_access_prot = pci_phys_mem_access_prot,
|
|
|
#endif
|
|
|
-#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PPC64)
|
|
|
- .cpu_die = pmac_cpu_die,
|
|
|
+#ifdef CONFIG_HOTPLUG_CPU
|
|
|
+#ifdef CONFIG_PPC64
|
|
|
+ .cpu_die = pmac64_cpu_die,
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_PPC32
|
|
|
+ .cpu_die = pmac32_cpu_die,
|
|
|
+#endif
|
|
|
#endif
|
|
|
#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PPC32)
|
|
|
.cpu_die = generic_mach_cpu_die,
|