diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-04-27 02:34:27 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-04-27 23:02:47 +0200 |
commit | a8d2518c2a7235f0b772c1f1bd30218130e631a7 (patch) | |
tree | 44adb883711dd58c0ac3bd699d537e3e85109755 /arch/arm/kernel/smp.c | |
parent | ARM: 6884/1: Fix infinite loop in ARM user perf_event backtrace code (diff) | |
download | linux-a8d2518c2a7235f0b772c1f1bd30218130e631a7.tar.xz 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.c | 2 |
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 | |