Skip to content

Commit

Permalink
[POWERPC] Fix build breakage with CONFIG_PPC32
Browse files Browse the repository at this point in the history
low_cpu_die is called from the CPU hotplug code on 32-bit powermacs,
but it is only defined if CONFIG_PM || CONFIG_CPU_FREQ_PMAC.  This
changes the ifdef so it is defined for CONFIG_HOTPLUG_CPU on 32-bit
machines.

Signed-off-by: Srinivasa DS <srinivasa@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Srinivasa Ds authored and Paul Mackerras committed Oct 23, 2006
1 parent c3386e4 commit 7f8c4c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/platforms/powermac/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
.section .text
.align 5

#if defined(CONFIG_PM) || defined(CONFIG_CPU_FREQ_PMAC)
#if defined(CONFIG_PM) || defined(CONFIG_CPU_FREQ_PMAC) || \
(defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PPC32))

/* This gets called by via-pmu.c late during the sleep process.
* The PMU was already send the sleep command and will shut us down
Expand Down

0 comments on commit 7f8c4c5

Please sign in to comment.