alistair23-linux/arch/blackfin/kernel
Paul Gortmaker 13dff62d80 blackfin: delete __cpuinit usage from all blackfin 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/blackfin uses of the __cpuinit macros from
all C files.  Currently blackfin does not have any __CPUINIT used in
assembly files.

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

Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Bob Liu <lliubbo@gmail.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-07-14 19:36:53 -04:00
..
cplb-mpu
cplb-nompu bfin cache: dcplb map: add 16M dcplb map for BF60x 2013-05-09 18:22:45 +08:00
.gitignore
asm-offsets.c
bfin_dma.c
bfin_gpio.c Blackfin: bfin_gpio: proc: fix return value 2012-10-08 14:36:29 +08:00
bfin_ksyms.c
cplbinfo.c blackfin updates for Linux 3.10 2013-05-10 07:21:16 -07:00
debug-mmrs.c
dma-mapping.c blackfin: use bitmap library functions 2013-02-20 15:21:22 +08:00
dumpstack.c dump_stack: consolidate dump_stack() implementations and unify their behaviors 2013-04-30 17:04:02 -07:00
early_printk.c early_printk: consolidate random copies of identical code 2013-04-29 18:28:13 -07:00
entry.S bfin: switch to generic vfork, get rid of pointless wrappers 2012-11-28 23:43:41 -05:00
exception.c
fixed_code.S
flat.c
ftrace-entry.S
ftrace.c
gptimers.c
ipipe.c
irqchip.c
kgdb.c kgdb: blackfin: include irq_regs.h in kgdb.c 2013-07-09 15:47:22 +08:00
kgdb_test.c
Makefile
module.c
nmi.c
perf_event.c blackfin: delete __cpuinit usage from all blackfin files 2013-07-14 19:36:53 -04:00
process.c bfin: Fix typo in arch_cpu_idle() 2013-04-10 12:38:48 +02:00
pseudodbg.c
ptrace.c
reboot.c Blackfin: fix wrong place disabled irq 2012-10-08 14:36:30 +08:00
setup.c blackfin: delete __cpuinit usage from all blackfin files 2013-07-14 19:36:53 -04:00
shadow_console.c
signal.c blackfin: switch to generic sigaltstack 2013-02-03 18:15:51 -05:00
stacktrace.c
sys_bfin.c
time-ts.c blackfin: time-ts: Remove duplicate assignment 2013-02-20 15:21:23 +08:00
time.c time: convert arch_gettimeoffset to a pointer 2012-12-24 09:36:07 -07:00
trace.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
traps.c
vmlinux.lds.S