diff options
author | Will Deacon <will.deacon@arm.com> | 2012-03-29 11:52:08 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2012-09-05 14:55:38 +0100 |
commit | 4a5cf4838b06b8e06ccbc92ea2ac346dbff770dd (patch) | |
tree | be84b9b83f4537d5eea2803f559248092a988ad5 | |
parent | 480f4adef65eaa5e160a0d617a5ef63758ff4f6e (diff) |
ARM: hotplug: remove section mismatch on access to pen_releasetracking-tracking-armlt-misc-fixes-ll-20120915.0tracking-tracking-armlt-misc-fixes-ll-20120911.0
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.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-vexpress/hotplug.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/hotplug.c b/arch/arm/mach-realview/hotplug.c index 57d9efba2956..77b23fa0db92 100644 --- a/arch/arm/mach-realview/hotplug.c +++ b/arch/arm/mach-realview/hotplug.c @@ -99,7 +99,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 c504a72b94d6..b0a3f7df70ba 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; |