Skip to content

Commit

Permalink
sh: Tidy up a couple of section mismatches.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Mar 23, 2010
1 parent 3fe0f36 commit 90851c4
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/sh/kernel/idle.c
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ void cpu_idle(void)
}
}

void __cpuinit select_idle_routine(void)
void __init select_idle_routine(void)
{
/*
* If a platform has set its own idle routine, leave it alone.
2 changes: 1 addition & 1 deletion arch/sh/kernel/perf_event.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 90851c4

Please sign in to comment.