mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
6c81c32f96
calibrate_delay() must be __cpuinit, not __{dev,}init. I've verified that this is correct for all users. While doing the latter, I also did the following cleanups: - remove pointless additional prototypes in C files - ensure all users #include <linux/delay.h> This fixes the following section mismatches with CONFIG_HOTPLUG=n, CONFIG_HOTPLUG_CPU=y: WARNING: vmlinux.o(.text+0x1128d): Section mismatch: reference to .init.text.1:calibrate_delay (between 'check_cx686_slop' and 'set_cx86_reorder') WARNING: vmlinux.o(.text+0x25102): Section mismatch: reference to .init.text.1:calibrate_delay (between 'smp_callin' and 'cpu_coregroup_map') Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Christian Zankel <chris@zankel.net> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
break.S | ||
cmode.S | ||
debug-stub.c | ||
dma.c | ||
entry-table.S | ||
entry.S | ||
frv_ksyms.c | ||
futex.c | ||
gdb-io.c | ||
gdb-io.h | ||
gdb-stub.c | ||
head-mmu-fr451.S | ||
head-uc-fr401.S | ||
head-uc-fr451.S | ||
head-uc-fr555.S | ||
head.inc | ||
head.S | ||
init_task.c | ||
irq-mb93091.c | ||
irq-mb93093.c | ||
irq-mb93493.c | ||
irq.c | ||
kernel_execve.S | ||
kernel_thread.S | ||
local.h | ||
Makefile | ||
module.c | ||
pm-mb93093.c | ||
pm.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
sleep.S | ||
switch_to.S | ||
sys_frv.c | ||
sysctl.c | ||
time.c | ||
traps.c | ||
uaccess.c | ||
vmlinux.lds.S |