linux/arch/xtensa/kernel
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
..
align.S
asm-offsets.c [XTENSA] Add support for cache-aliasing 2007-08-27 13:54:16 -07:00
coprocessor.S
entry.S [XTENSA] Add support for cache-aliasing 2007-08-27 13:54:16 -07:00
head.S [XTENSA] Move common sections into bss sections 2007-05-31 17:48:07 -07:00
init_task.c [XTENSA] Move pre-initialized structures to init_task.c 2007-08-27 13:53:12 -07:00
io.c [XTENSA] Move string-io functions to io.c from pci.c 2007-08-27 13:53:22 -07:00
irq.c
Makefile [XTENSA] Move string-io functions to io.c from pci.c 2007-08-27 13:53:22 -07:00
module.c [XTENSA] Add kernel module support 2007-08-27 13:54:06 -07:00
pci-dma.c fix file specification in comments 2007-05-09 08:58:16 +02:00
pci.c [XTENSA] Move string-io functions to io.c from pci.c 2007-08-27 13:53:22 -07:00
platform.c
process.c [XTENSA] Move pre-initialized structures to init_task.c 2007-08-27 13:53:12 -07:00
ptrace.c Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
semaphore.c [XTENSA] Initialize semaphore_wake_lock 2007-08-27 13:53:51 -07:00
setup.c [XTENSA] clean-up header files 2007-05-31 17:47:01 -07:00
signal.c [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00
syscall.c [XTENSA] Fix fadvise64_64 2007-08-27 13:53:32 -07:00
time.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
traps.c Use helpers to obtain task pid in printks (arch code) 2007-10-19 11:53:43 -07:00
vectors.S
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
xtensa_ksyms.c [XTENSA] Remove multi-exported symbols from xtensa_ksyms.c 2007-05-31 17:45:23 -07:00