android_kernel_xiaomi_sm8350/arch/frv/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 [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
break.S FRV: arrange things such that BRA can reach from the trap table 2007-11-29 09:24:54 -08:00
cmode.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
debug-stub.c [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
dma.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
entry-table.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
entry.S timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
frv_ksyms.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
futex.c [PATCH] arch/frv/kernel/futex.c must #include <linux/uaccess.h> 2006-12-07 08:39:26 -08:00
gdb-io.c
gdb-io.h
gdb-stub.c Remove references to "make dep" 2008-01-28 23:22:13 +01:00
head-mmu-fr451.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-uc-fr401.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-uc-fr451.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head-uc-fr555.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head.inc
head.S [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
irq-mb93091.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq-mb93093.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq-mb93493.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq.c spelling fixes: arch/frv/ 2007-10-20 01:09:42 +02:00
kernel_execve.S [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
kernel_thread.S
local.h [PATCH] FRV: Fix FRV arch compile errors 2006-07-10 13:24:21 -07:00
Makefile [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
module.c [PATCH] frv: add module support stubs 2006-01-08 20:13:37 -08:00
pm-mb93093.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pm.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
process.c FRV: Replace pgd management via slabs through quicklists 2007-05-09 12:30:46 -07:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
semaphore.c spelling fixes: arch/frv/ 2007-10-20 01:09:42 +02:00
setup.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
switch_to.S [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
sys_frv.c remove include/asm-*/ipc.h 2007-10-17 08:42:55 -07:00
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
time.c spelling fixes: arch/frv/ 2007-10-20 01:09:42 +02:00
traps.c [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
uaccess.c [PATCH] frv: __user infrastructure 2006-06-23 07:42:54 -07:00
vmlinux.lds.S FRV: permit the memory to be located elsewhere in NOMMU mode 2008-02-05 09:44:20 -08:00