WSL2-Linux-Kernel/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
..
Makefile frv: switch to generic kernel_execve 2012-10-01 00:53:11 -04:00
asm-offsets.c frv: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
break.S Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
cmode.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
debug-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
dma.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
entry-table.S Fix common misspellings 2011-03-31 11:26:23 -03:00
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 futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
gdb-io.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
gdb-io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
head-mmu-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr401.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr555.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head.S frv: head.S - Remove commented-out initialization code 2013-06-16 13:47:47 +02:00
head.inc FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
irq-mb93091.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93093.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93493.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
local.h [PATCH] FRV: Fix FRV arch compile errors 2006-07-10 13:24:21 -07:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pm-mb93093.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
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 Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
switch_to.S FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
sys_frv.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
sysctl.c frv: Convert use of typedef ctl_table to struct ctl_table 2013-06-14 11:56:07 +02:00
time.c frv: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c arch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() 2013-07-03 16:07:41 -07:00
uaccess.c FRV: BUG to BUG_ON changes 2009-06-11 09:01:26 -07:00
vmlinux.lds.S percpu: Always align percpu output section to PAGE_SIZE 2011-03-24 18:50:09 +01:00