summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2011-04-27 01:34:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-04-27 22:02:47 +0100
commita8d2518c2a7235f0b772c1f1bd30218130e631a7 (patch)
tree44adb883711dd58c0ac3bd699d537e3e85109755 /arch/arm/kernel/smp.c
parent860ad7823fdc00cd61dc70e7f35e07fb327cc9a4 (diff)
downloadblackbird-op-linux-a8d2518c2a7235f0b772c1f1bd30218130e631a7.tar.gz
blackbird-op-linux-a8d2518c2a7235f0b772c1f1bd30218130e631a7.zip
ARM: 6887/1: Mark broadcast_timer_setup() __cpuinit
This function is only called by percpu_timer_setup() which is also __cpuinit marked. Thus it's safe to mark this function as __cpuinit as well. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 8fe05ad932e4..f29b8a29b174 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -479,7 +479,7 @@ static void broadcast_timer_set_mode(enum clock_event_mode mode,
{
}
-static void broadcast_timer_setup(struct clock_event_device *evt)
+static void __cpuinit broadcast_timer_setup(struct clock_event_device *evt)
{
evt->name = "dummy_timer";
evt->features = CLOCK_EVT_FEAT_ONESHOT |
OpenPOWER on IntegriCloud