]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
timer: fix section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 22 Jan 2008 01:18:25 +0000 (17:18 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 22 Jan 2008 03:39:41 +0000 (19:39 -0800)
commit48ccf3dac341118992b70ca89c47728e8b1d300b
tree6a5c8ba87c5c2bb1e08aa73ca2fd2c2be5c17188
parent0ec160dd48b666ddef39d639323d0da26d0b710d
timer: fix section mismatch

The caller is __cpuinit.
Also, this code block and its caller are inside #ifdef CONFIG_HOTPLUG_CPU
blocks, so this code should reflect that config symbol's usage.

WARNING: vmlinux.o(.text+0x4252f): Section mismatch: reference to .init.text: (between 'timer_cpu_notify' and 'msleep')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: 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@akpm@linux-foundation.org>
kernel/timer.c