linux/arch/x86/kernel/cpu
Adrian Bunk 6c81c32f96 calibrate_delay() must be __cpuinit
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>
2008-02-06 10:41:08 -08:00
..
cpufreq x86: remove unneded casts 2008-01-30 13:33:23 +01:00
mcheck x86: fix recursion in arch/x86/kernel/cpu/mcheck/mce_amd_64.c 2008-01-30 13:33:40 +01:00
mtrr x86: add cpu mtrr init function definitions to mtrr.h 2008-02-04 16:48:05 +01:00
addon_cpuid_features.c x86: add set/clear_cpu_cap operations 2008-01-30 13:30:55 +01:00
amd.c x86: fix bootup crash in native_read_tsc() 2008-02-02 10:00:26 +11:00
bugs.c x86: convert TSC disabling to generic cpuid disable bitmap 2008-01-30 13:33:20 +01:00
centaur.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
common.c x86: add cpu init function defintions to cpu.h 2008-02-04 16:48:04 +01:00
cpu.h x86: add cpu init function defintions to cpu.h 2008-02-04 16:48:04 +01:00
cyrix.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
feature_names.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
intel_cacheinfo.c x86: fix sparse warnings in intel_cacheinfo.c 2008-01-31 22:05:43 +01:00
intel.c x86: add include to cpu/intel.c 2008-02-04 16:48:04 +01:00
Makefile x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c x86: nuke a ton of unused exports 2008-01-30 13:30:28 +01:00
proc.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
transmeta.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00