linux/arch/tile/kernel
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
..
asm-offsets.c
backtrace.c
compat_signal.c tile: switch to generic compat rt_sigaction() 2013-02-03 18:16:22 -05:00
compat.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-05-01 07:21:43 -07:00
early_printk.c early_printk: consolidate random copies of identical code 2013-04-29 18:28:13 -07:00
entry.S tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE 2012-10-20 13:13:29 -04:00
futex_64.S
hardwall.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
head_32.S tile: support new Tilera hypervisor 2013-05-02 16:20:31 -04:00
head_64.S tile: support new Tilera hypervisor 2013-05-02 16:20:31 -04:00
hvglue.lds
intvec_32.S arch/tile: Call tracehook_report_syscall_{entry,exit} in syscall trace 2013-03-21 15:39:34 -04:00
intvec_64.S tile: support TIF_SYSCALL_TRACEPOINT; select HAVE_SYSCALL_TRACEPOINTS 2013-03-22 15:46:18 -04:00
irq.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
machine_kexec.c
Makefile
messaging.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci_gx.c ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
pci-dma.c
pci.c ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
proc.c
process.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
ptrace.c arch/tile: Fix syscall return value passed to tracepoint 2013-04-24 16:45:55 -04:00
reboot.c tile: export a handful of symbols appropriately 2013-02-08 13:20:36 -05:00
regs_32.S
regs_64.S
relocate_kernel_32.S
relocate_kernel_64.S
setup.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
signal.c tile: switch to generic sigaltstack 2013-02-03 18:16:21 -05:00
single_step.c
smp.c
smpboot.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
stack.c sched: Rename sched.c as sched/core.c in comments and Documentation 2013-06-19 12:58:42 +02:00
sys.c take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h 2012-11-28 23:43:27 -05:00
sysfs.c
tile-desc_32.c
tile-desc_64.c
time.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
tlb.c
traps.c
usb.c
vmlinux.lds.S tile: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00