rcu: fix section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 22 Jan 2008 11:31:39 +0000 (03:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 22 Jan 2008 17:17:48 +0000 (09:17 -0800)
commit00e10776ff908a767b3d36a53d330db8fdc53a56
treefe30e9286df2ecb66842f0e74b3c06a1651737e4
parent80c002ddd2e732062e4371314d40515d0b5d8415
rcu: fix section mismatch

rcu_online_cpu() should be __cpuinit instead of __devinit.

WARNING: vmlinux.o(.text+0x4b6d5): Section mismatch: reference to .init.text: (between 'rcu_cpu_notify' and 'wakeme_after_rcu')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rcupdate.c