linux/arch
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
..
alpha calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
arm add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
avr32 read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
blackfin timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
cris arch/cris: add a missing iounmap 2008-02-05 09:44:24 -08:00
frv calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
h8300 proper show_interrupts() prototype 2008-02-06 10:41:02 -08:00
ia64 calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
m32r timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
m68k cleanup after APUS removal 2008-02-06 10:41:01 -08:00
m68knommu Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
mips calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
parisc alpha/parisc: remove config variable DEBUG_RWLOCK 2008-02-06 10:41:03 -08:00
powerpc calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
ppc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
s390 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 2008-02-05 10:11:02 -08:00
sh timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
sparc calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
sparc64 calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
um uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
v850 Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00
x86 calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
xtensa calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00