aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-11-14 20:00:12 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:42 -0500
commit42614fcde7bfdcbe43a7b17035c167dfebc354dd (patch)
tree1fa22329eb136a2bc868c81de99a6778a1c2b917
parent579d6d93ca531fba3e29ddf39fefe5184012068b (diff)
vmstat: fix section mismatch warning
Mark start_cpu_timer() as __cpuinit instead of __devinit. Fixes this section warning: WARNING: vmlinux.o(.text+0x60e53): Section mismatch: reference to .init.text:start_cpu_timer (between 'vmstat_cpuup_callback' and 'vmstat_show') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 4651bf153f35..e8d846f57774 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -803,7 +803,7 @@ static void vmstat_update(struct work_struct *w)
803 sysctl_stat_interval); 803 sysctl_stat_interval);
804} 804}
805 805
806static void __devinit start_cpu_timer(int cpu) 806static void __cpuinit start_cpu_timer(int cpu)
807{ 807{
808 struct delayed_work *vmstat_work = &per_cpu(vmstat_work, cpu); 808 struct delayed_work *vmstat_work = &per_cpu(vmstat_work, cpu);
809 809