summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/perf_event.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-03-23 17:06:47 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-03-23 17:06:47 +0900
commit90851c40769791a6ddeef691c482ecf69bae4a5c (patch)
tree1fa4750f362c84dea0f2b39dc9081dcf18d52057 /arch/sh/kernel/perf_event.c
parent3fe0f36c7edcd20af0a3cafc68bdd62534c0a7f0 (diff)
sh: Tidy up a couple of section mismatches.
select_idle_routine() and register_sh_pmu() both needed their annotations fixed up to silence section mismatch warnings. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/perf_event.c')
-rw-r--r--arch/sh/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/perf_event.c b/arch/sh/kernel/perf_event.c
index 9f253e9cce0..81b6de41ae5 100644
--- a/arch/sh/kernel/perf_event.c
+++ b/arch/sh/kernel/perf_event.c
@@ -315,7 +315,7 @@ void hw_perf_disable(void)
sh_pmu->disable_all();
}
-int register_sh_pmu(struct sh_pmu *pmu)
+int __cpuinit register_sh_pmu(struct sh_pmu *pmu)
{
if (sh_pmu)
return -EBUSY;