Commit 7f8c4c50 authored by Srinivasa Ds's avatar Srinivasa Ds Committed by Paul Mackerras

[POWERPC] Fix build breakage with CONFIG_PPC32

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: default avatarSrinivasa DS <srinivasa@in.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent c3386e40
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
.section .text .section .text
.align 5 .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. /* 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 * The PMU was already send the sleep command and will shut us down
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment