android_kernel_xiaomi_sm8350/arch/frv/kernel
Paul Gortmaker ec460ae52e frv: delete __cpuinit usage from all frv files
The __cpuinit type of throwaway sections might have made sense
some time ago when RAM was more constrained, but now the savings
do not offset the cost and complications.  For example, the fix in
commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
is a good example of the nasty type of bugs that can be created
with improper use of the various __init prefixes.

After a discussion on LKML[1] it was decided that cpuinit should go
the way of devinit and be phased out.  Once all the users are gone,
we can then finally remove the macros themselves from linux/init.h.

Note that some harmless section mismatch warnings may result, since
notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
are flagged as __cpuinit  -- so if we remove the __cpuinit from
arch specific callers, we will also get section mismatch warnings.
As an intermediate step, we intend to turn the linux/init.h cpuinit
content into no-ops as early as possible, since that will get rid
of these warnings.  In any case, they are temporary and harmless.

This removes all the arch/frv uses of the __cpuinit macros from
all C files.  Currently frv does not have any __CPUINIT used in
assembly files.

[1] https://lkml.org/lkml/2013/5/20/589

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-07-14 19:36:55 -04:00
..
asm-offsets.c
break.S
cmode.S
debug-stub.c
dma.c
entry-table.S
entry.S frv: fix the broken preempt 2012-11-02 12:08:25 -04:00
frv_ksyms.c frv: split ret_from_fork, simplify kernel_thread() a lot 2012-10-01 00:53:10 -04:00
futex.c
gdb-io.c
gdb-io.h
gdb-stub.c
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S frv: head.S - Remove commented-out initialization code 2013-06-16 13:47:47 +02:00
irq-mb93091.c
irq-mb93093.c
irq-mb93493.c
irq.c
local64.h
local.h
Makefile frv: switch to generic kernel_execve 2012-10-01 00:53:11 -04:00
module.c
pm-mb93093.c
pm.c frv: Convert use of typedef ctl_table to struct ctl_table 2013-06-14 11:56:07 +02:00
process.c frv: Use generic idle loop 2013-04-08 17:39:25 +02:00
ptrace.c
setup.c frv: delete __cpuinit usage from all frv files 2013-07-14 19:36:55 -04:00
signal.c frv: switch to generic old sigaction() 2013-02-03 18:15:55 -05:00
sleep.S
switch_to.S
sys_frv.c
sysctl.c frv: Convert use of typedef ctl_table to struct ctl_table 2013-06-14 11:56:07 +02:00
time.c
traps.c arch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() 2013-07-03 16:07:41 -07:00
uaccess.c
vmlinux.lds.S