vmstat: fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 15 Nov 2007 01:00:12 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:42 +0000 (18:45 -0800)
commit42614fcde7bfdcbe43a7b17035c167dfebc354dd
tree1fa22329eb136a2bc868c81de99a6778a1c2b917
parent579d6d93ca531fba3e29ddf39fefe5184012068b
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>
mm/vmstat.c