linux_dsm_epyc7002/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 arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
backtrace.c arch/tile: big-endian: properly bswap instruction bundles when backtracing 2012-06-18 13:11:21 -04:00
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 arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
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 arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
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 arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
Makefile usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
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 tile pci: enable IOMMU to support DMA for legacy devices 2012-07-18 16:40:17 -04:00
pci.c ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
proc.c arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
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 Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
regs_64.S Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
relocate_kernel_32.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
relocate_kernel_64.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
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 arch/tile: support building big-endian kernel 2012-05-25 12:48:22 -04:00
smp.c arch/tile: Allow tilegx to build with either 16K or 64K page size 2012-05-25 12:48:24 -04:00
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 arch/tile: allow querying cpu module information from the hypervisor 2012-05-25 12:48:28 -04:00
tile-desc_32.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
tile-desc_64.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
time.c tile: delete __cpuinit usage from all tile files 2013-07-14 19:36:54 -04:00
tlb.c arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
traps.c arch/tile: add descriptive text if the kernel reports a bad trap 2012-05-25 12:48:28 -04:00
usb.c usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
vmlinux.lds.S tile: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00