diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 17:06:47 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 17:06:47 +0900 |
commit | 90851c40769791a6ddeef691c482ecf69bae4a5c (patch) | |
tree | 1fa4750f362c84dea0f2b39dc9081dcf18d52057 /arch/sh/kernel/perf_event.c | |
parent | 3fe0f36c7edcd20af0a3cafc68bdd62534c0a7f0 (diff) | |
download | linux-90851c40769791a6ddeef691c482ecf69bae4a5c.tar.gz linux-90851c40769791a6ddeef691c482ecf69bae4a5c.tar.bz2 linux-90851c40769791a6ddeef691c482ecf69bae4a5c.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/perf_event.c b/arch/sh/kernel/perf_event.c index 9f253e9cce01..81b6de41ae5d 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; |