linux/arch/sparc64/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
..
asm-offsets.c
audit.c [PATCH] audit signal recipients 2007-05-11 05:38:25 -04:00
auxio.c [SPARC/64]: Move of_platform_driver initialisations: arch/sparc{,64}. 2007-10-13 21:53:12 -07:00
binfmt_aout32.c core_pattern: ignore RLIMIT_CORE if core_pattern is a pipe 2007-10-17 08:42:50 -07:00
binfmt_elf32.c [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
central.c [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
chmc.c [SPARC64]: Fix memory controller register access when non-SMP. 2007-12-07 01:10:14 -08:00
compat_audit.c [PATCH] add SIGNAL syscall class (v3) 2007-05-11 05:38:25 -04:00
cpu.c [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
ds.c [SPARC]: Remove duplicate includes. 2007-11-06 21:23:11 -08:00
dtlb_miss.S
dtlb_prot.S
ebus.c [SPARC]: Fix EBUS use of uninitialized variable. 2007-09-27 13:09:28 -07:00
entry.S [SPARC64]: Fix two kernel linear mapping setup bugs. 2007-12-13 06:13:38 -08:00
etrap.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head.S [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
hvapi.c [SPARC64]: Report proper system soft state to the hypervisor. 2007-05-29 02:49:29 -07:00
hvtramp.S [SPARC64]: Fix memory leak when cpu hotplugging. 2007-08-08 17:33:52 -07:00
idprom.c
init_task.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
iommu_common.c iommu sg merging: sparc64: make iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
iommu_common.h iommu sg merging: sparc64: make iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
iommu.c iommu sg merging: sparc64: make iommu respect the segment size limits 2008-02-05 09:44:10 -08:00
irq.c [SPARC64]: Stop using __do_IRQ(). 2007-10-22 02:16:45 -07:00
isa.c [SPARC64]: Add missing pci_dev_put 2007-12-05 05:37:57 -08:00
itlb_miss.S [SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler. 2007-05-29 02:50:15 -07:00
kprobes.c kprobes: support kretprobe blacklist 2007-10-16 09:43:10 -07:00
ktlb.S [SPARC64]: Fix build with SPARSEMEM_VMEMMAP disabled. 2008-01-12 21:52:16 -08:00
ldc.c [SPARC64]: Missing mdesc_release() in ldc_init(). 2007-12-05 05:37:55 -08:00
Makefile [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00
mdesc.c [SPARC64]: Warn user if cpu is ignored. 2007-09-16 14:45:06 -07:00
module.c [SPARC]: Remove duplicate includes. 2007-11-06 21:23:11 -08:00
of_device.c [SPARC/64]: Consolidate of_register_driver 2007-10-17 21:17:42 -07:00
pci_common.c [SPARC64]: Check of_get_property() return in pci_determine_mem_io_space(). 2007-10-17 16:25:10 -07:00
pci_fire.c [SPARC64]: Fix of section mismatch warnings. 2008-01-21 22:34:30 -08:00
pci_impl.h [SPARC64]: Kill pci_memspace_mask. 2007-10-13 21:53:14 -07:00
pci_msi.c [SPARC64]: Stop using __do_IRQ(). 2007-10-22 02:16:45 -07:00
pci_psycho.c [SPARC64]: Fix of section mismatch warnings. 2008-01-21 22:34:30 -08:00
pci_sabre.c [SPARC64]: Fix of section mismatch warnings. 2008-01-21 22:34:30 -08:00
pci_schizo.c [SPARC64]: Fix of section mismatch warnings. 2008-01-21 22:34:30 -08:00
pci_sun4v_asm.S [SPARC64]: Add PCI MSI support on Niagara. 2007-02-10 23:50:37 -08:00
pci_sun4v.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-05 10:08:47 -08:00
pci_sun4v.h [SPARC64]: Add PCI MSI support on Niagara. 2007-02-10 23:50:37 -08:00
pci.c [SPARC64]: Implement pci_resource_to_user() 2007-12-26 19:33:46 -08:00
power.c [SPARC/64]: Move of_platform_driver initialisations: arch/sparc{,64}. 2007-10-13 21:53:12 -07:00
process.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
prom.c [SPARC64]: Fix 'niu' complex IRQ probing. 2007-10-04 15:03:35 -07:00
ptrace.c [SPARC{32,64}]: Propagate ptrace_traceme() return value. 2006-12-10 02:40:27 -08:00
rtrap.S [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
sbus.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
semaphore.c [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
setup.c [SPARC]: Constify function pointer tables. 2008-01-22 18:29:20 -08:00
signal32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal.c [SPARC64]: Kill bogus set_fs(KERNEL_DS) in do_rt_sigreturn(). 2007-07-17 14:37:54 -07:00
smp.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
sparc64_ksyms.c get rid of NR_OPEN and introduce a sysctl_nr_open 2008-02-06 10:41:06 -08:00
sstate.c [SPARC64]: Report proper system soft state to the hypervisor. 2007-05-29 02:49:29 -07:00
stacktrace.c simplify the stacktrace code 2007-05-08 11:14:58 -07:00
starfire.c [SPARC64]: Kill starfire_cookie from SBUS/PCI. 2006-06-29 16:37:08 -07:00
sun4v_ivec.S [SPARC64]: Use sun4v VIRQ interfaces as intended. 2007-10-13 21:53:16 -07:00
sun4v_tlb_miss.S [SPARC64]: Fix hypervisor TLB operation error reporting. 2008-01-17 06:26:55 -08:00
sunos_ioctl32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys32.S [SPARC64]: Fix arg passing to compat_sys_ipc(). 2007-04-13 13:27:08 -07:00
sys_sparc32.c [SPARC]: Remove duplicate includes. 2007-11-06 21:23:11 -08:00
sys_sparc.c [SPARC64]: pass correct addr in get_fb_unmapped_area(MAP_FIXED) 2007-10-23 22:42:07 -07:00
sys_sunos32.c [SPARC]: Remove duplicate includes. 2007-11-06 21:23:11 -08:00
sysfs.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
systbls.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
time.c read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
trampoline.S [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
traps.c [SPARC64]: Fix hypervisor TLB operation error reporting. 2008-01-17 06:26:55 -08:00
tsb.S [SPARC64]: store-init needs trailing membar. 2007-03-19 13:27:33 -07:00
ttable.S [SPARC64]: Unify timer interrupt handler. 2007-04-26 01:54:11 -07:00
una_asm.S
unaligned.c remove __attribute_used__ 2008-01-28 23:21:18 +01:00
us2e_cpufreq.c [CPUFREQ] move policy's governor initialisation out of low-level drivers into cpufreq core 2007-10-04 18:40:57 -04:00
us3_cpufreq.c
vio.c [SPARC64]: Fix of section mismatch warnings. 2008-01-21 22:34:30 -08:00
viohs.c viohs: extern on function definition 2007-07-26 11:11:56 -07:00
visemul.c [SPARC64]: Call do_mathemu on illegal instruction traps too. 2006-12-10 02:39:32 -08:00
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
winfixup.S