kernel-fxtec-pro1x/arch/tile
Paul Gortmaker 18f894c145 tile: delete __cpuinit usage from all tile 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/tile uses of the __cpuinit macros from
all C files.  Currently tile does not have any __CPUINIT used in
assembly files.

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

Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-07-14 19:36:54 -04:00
..
configs md: remove CONFIG_MULTICORE_RAID456 entirely 2013-03-20 13:21:14 +11:00
gxio arch/tile: provide kernel support for the tilegx USB shim 2012-07-18 16:40:24 -04:00
include tile: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00
kernel tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
kvm arch/tile/kvm: remove depends on CONFIG_EXPERIMENTAL 2013-01-17 12:11:26 -08:00
lib tilepro: work around module link error with gcc 4.7 2013-06-15 16:47:47 -04:00
mm mm: remove free_area_cache 2013-07-10 18:11:34 -07:00
Kbuild
Kconfig consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile arch/tile: avoid generating .eh_frame information in modules 2012-10-23 10:21:43 -04:00