diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-02-10 22:09:32 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-01 00:37:16 -0400 |
commit | fb49f864c3c3f8ac5b68563774171fe43634ffeb (patch) | |
tree | c10d14ef80f971b73e718333f407cd0ceb51699d /arch/powerpc/include | |
parent | 7a53a4fe707a93a33f6c5d42173bf213cb6ff71d (diff) |
powerpc/pmac/smp: Fix 32-bit PowerMac cpu_die
Use generic cpu_state, call idle_task_exit() properly, and
remove smp_core99_cpu_die() which isn't useful, the generic
function does the job just fine.
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index a629b6fef882..9fe559785b39 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h | |||
@@ -45,6 +45,7 @@ extern void fixup_irqs(const struct cpumask *map); | |||
45 | int generic_cpu_disable(void); | 45 | int generic_cpu_disable(void); |
46 | void generic_cpu_die(unsigned int cpu); | 46 | void generic_cpu_die(unsigned int cpu); |
47 | void generic_mach_cpu_die(void); | 47 | void generic_mach_cpu_die(void); |
48 | DECLARE_PER_CPU(int, cpu_state); | ||
48 | #endif | 49 | #endif |
49 | 50 | ||
50 | #ifdef CONFIG_PPC64 | 51 | #ifdef CONFIG_PPC64 |