summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-03-29 11:52:08 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2012-04-20 14:55:11 +0100
commitd086289fdd1735ebeb6d5bb1ae13c7830cf2fcf7 (patch)
treeb89f6bd82dca7a12e7a2051200f5094dabe0d056
parentdc0b2da7072c76f169defd1064a3f0b51a8ab3bc (diff)
ARM: hotplug: remove section mismatch on access to pen_release
pen_release is marked as __cpuinitdata, so make sure that functions using it are marked with __cpuinit. Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--arch/arm/mach-realview/hotplug.c2
-rw-r--r--arch/arm/mach-vexpress/hotplug.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/hotplug.c b/arch/arm/mach-realview/hotplug.c
index eb55f05bef3a..111d8ddff3d4 100644
--- a/arch/arm/mach-realview/hotplug.c
+++ b/arch/arm/mach-realview/hotplug.c
@@ -98,7 +98,7 @@ int platform_cpu_kill(unsigned int cpu)
*
* Called with IRQs disabled
*/
-void platform_cpu_die(unsigned int cpu)
+void __cpuinit platform_cpu_die(unsigned int cpu)
{
int spurious = 0;
diff --git a/arch/arm/mach-vexpress/hotplug.c b/arch/arm/mach-vexpress/hotplug.c
index 3034a4dab4a1..331d59f3f609 100644
--- a/arch/arm/mach-vexpress/hotplug.c
+++ b/arch/arm/mach-vexpress/hotplug.c
@@ -94,7 +94,7 @@ int platform_cpu_kill(unsigned int cpu)
*
* Called with IRQs disabled
*/
-void platform_cpu_die(unsigned int cpu)
+void __cpuinit platform_cpu_die(unsigned int cpu)
{
int spurious = 0;