linux_dsm_epyc7002/arch/sh/kernel/cpu/sh3
Paul Gortmaker 4603f53a1d sh: delete __cpuinit usage from all sh 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/sh uses of the __cpuinit macros from
all C files.  Currently sh does not have any __CPUINIT used in
assembly files.

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

Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-07-14 19:36:53 -04:00
..
clock-sh3.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7705.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7706.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7709.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7710.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7712.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
entry.S sh: Support thread fault code encoding. 2012-05-14 14:57:28 +09:00
ex.S sh: hw-breakpoints: Add preliminary support for SH-4A UBC. 2009-12-08 15:02:27 +09:00
Makefile sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB 2013-03-20 22:48:15 +09:00
pinmux-sh7720.c sh: sh7720: Add pin control resources 2013-03-15 13:33:51 +01:00
probe.c sh: delete __cpuinit usage from all sh files 2013-07-14 19:36:53 -04:00
serial-sh770x.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7710.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7720.c sh: Fix up se7721 GPIOLIB=y build warnings. 2012-07-02 15:06:22 +09:00
setup-sh3.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
setup-sh770x.c sh: sh7706/sh7707/sh7709/sh7709 evt2irq migration. 2012-05-18 14:34:48 +09:00
setup-sh7705.c sh: sh7705 evt2irq migration. 2012-05-18 14:31:11 +09:00
setup-sh7710.c sh: sh7710/sh7712 evt2irq migration. 2012-05-18 14:37:51 +09:00
setup-sh7720.c sh: convert boards to use the OHCI platform driver 2012-10-22 11:26:54 -07:00
swsusp.S sh: hibernation support 2009-03-10 12:55:40 +09:00