projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
860ad78
)
ARM: 6887/1: Mark broadcast_timer_setup() __cpuinit
author
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 27 Apr 2011 00:34:27 +0000
(
01:34
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 27 Apr 2011 21:02:47 +0000
(22:02 +0100)
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>
arch/arm/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/smp.c
b/arch/arm/kernel/smp.c
index 8fe05ad932e4bd0b113c11c19f7e816650ace696..f29b8a29b17436f80f3b960a8be0337aa91811c7 100644
(file)
--- 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 |