android_kernel_xiaomi_sm8350/arch/mips/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
..
8250-platform.c
asm-offsets.c
binfmt_elfn32.c arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
binfmt_elfo32.c arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
branch.c
cevt-bcm1480.c [MIPS] Sibyte: Stop timers before programming next even. 2007-11-15 23:21:50 +00:00
cevt-gt641xx.c
cevt-r4k.c [MIPS] Handle R4000/R4400 mfc0 from count register. 2007-11-26 17:26:14 +00:00
cevt-sb1250.c [MIPS] Sibyte: Stop timers before programming next even. 2007-11-15 23:21:50 +00:00
cevt-txx9.c
cpu-bugs64.c [MIPS] R4000/R4400 errata workarounds 2008-01-29 10:14:54 +00:00
cpu-probe.c [MIPS] Alchemy: Au1210/Au1250 CPU support 2008-01-29 10:14:59 +00:00
csrc-bcm1480.c
csrc-r4k.c [MIPS] Fix build. 2007-12-01 00:39:37 +00:00
csrc-sb1250.c [MIPS] Sibyte: Fix name of clocksource. 2007-11-15 23:21:51 +00:00
early_printk.c
entry.S
gdb-low.S
gdb-stub.c
genex.S [MIPS] R4000/R4400 daddiu erratum workaround 2008-01-29 10:14:55 +00:00
head.S [MIPS] Fix build after b0rked changes to <linux/init.h>. 2008-02-01 14:48:43 +00:00
i8253.c mips, x86: optimize the i8259 code a bit 2008-01-30 13:30:47 +01:00
i8259.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
init_task.c
irix5sys.S
irixelf.c
irixinv.c
irixioctl.c
irixsig.c
irq_cpu.c [MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping interrupts. 2007-11-15 23:21:52 +00:00
irq_txx9.c
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c [MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping interrupts. 2007-11-15 23:21:52 +00:00
irq-rm9000.c [MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping interrupts. 2007-11-15 23:21:52 +00:00
irq.c
kspd.c arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
linux32.c [MIPS] compat: handle argument endianess of sys32_(f)truncate64 with merge_64 2008-01-29 10:15:02 +00:00
machine_kexec.c
Makefile [MIPS] Only build r4k clocksource for systems that work ok with it. 2007-11-26 17:26:14 +00:00
mips_ksyms.c
mips-mt-fpaff.c cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus() 2008-01-25 21:08:02 +01:00
mips-mt.c [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
module.c
proc.c [MIPS]: constify function pointer tables 2008-01-29 10:15:03 +00:00
process.c [MIPS] Ensure that ST0_FR is never set on a 32 bit kernel 2007-12-14 17:34:30 +00:00
ptrace32.c
ptrace.c
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c [MIPS] Remove duplicate includes. 2008-01-29 10:14:56 +00:00
scall32-o32.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
scall64-64.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
scall64-n32.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
scall64-o32.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
semaphore.c
setup.c arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
signal32.c
signal_n32.c
signal-common.h
signal.c
smp-mt.c [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
smp-up.c [MIPS] Only build r4k clocksource for systems that work ok with it. 2007-11-26 17:26:14 +00:00
smp.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
smtc-asm.S
smtc-proc.c [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
smtc.c arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
stacktrace.c
syscall.c
sysirix.c get rid of NR_OPEN and introduce a sysctl_nr_open 2008-02-06 10:41:06 -08:00
time.c [MIPS] time: remove unused mips_timer_state() 2008-01-29 10:15:00 +00:00
topology.c
traps.c [MIPS] Ensure that ST0_FR is never set on a 32 bit kernel 2007-12-14 17:34:30 +00:00
unaligned.c
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
vpe.c [MIPS] Remove duplicate includes. 2008-01-29 10:14:56 +00:00