linux/arch/arm/mach-shmobile
Paul Gortmaker 8bd26e3a7e arm: delete __cpuinit/__CPUINIT usage from all ARM users
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)
and are flagged as __cpuinit  -- so if we remove the __cpuinit from
the arch specific callers, we will also get section mismatch warnings.
As an intermediate step, we intend to turn the linux/init.h cpuinit
related 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 ARM uses of the __cpuinit macros from C code,
and all __CPUINIT from assembly code.  It also had two ".previous"
section statements that were paired off against __CPUINIT
(aka .section ".cpuinit.text") that also get removed here.

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

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-07-14 19:36:52 -04:00
..
include/mach ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
board-ag5evm.c
board-ape6evm.c ARM: shmobile: ape6evm: MP clock parent become EXTAL2 2013-06-07 14:26:30 +09:00
board-armadillo800eva-reference.c ARM: shmobile: armadillo800eva: Reference DT implementation 2013-06-04 17:41:53 +09:00
board-armadillo800eva.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
board-bockw.c ARM SoC board specific changes 2013-07-02 14:10:26 -07:00
board-kota2.c ARM: shmobile: kota2: Register pinctrl mappings for BSC 2013-03-15 13:34:10 +01:00
board-kzm9d.c ARM: shmobile: kzm9d: resigser smsc911x platform device with id -1 2013-06-07 14:26:31 +09:00
board-kzm9g-reference.c ARM: shmobile: kzm9g-reference: Remove the VCCQ MC0 function GPIO 2013-06-05 17:17:16 +09:00
board-kzm9g.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
board-lager.c ARM: shmobile: lager: support GPIO switches 2013-06-07 14:26:31 +09:00
board-mackerel.c ARM: shmobile: mackerel: Register pinctrl mapping for USBHS 2013-06-04 21:04:15 +09:00
board-marzen-reference.c ARM: shmobile: marzen: Reference DT implementation 2013-03-18 21:27:02 +09:00
board-marzen.c ARM SoC board specific changes 2013-07-02 14:10:26 -07:00
clock-emev2.c
clock-r8a73a4.c ARM: shmobile: r8a73a4: add clock definitions and aliases for MMCIF and SDHI 2013-06-12 21:07:38 +09:00
clock-r8a7740.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7778.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7779.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7790.c ARM: shmobile: r8a7790: add clock definitions and aliases for MMCIF and SDHI 2013-06-12 21:07:38 +09:00
clock-sh73a0.c ARM: shmobile: sh73a0: div4 clocks must check the kick bit before changing rate 2013-06-07 14:24:52 +09:00
clock-sh7372.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
clock.c ARM: shmobile: add struct clk_ratio and fixed ratio clock macro 2013-04-02 11:02:16 +09:00
console.c
cpuidle.c ARM: shmobile: cpuidle: use init/exit common routine 2013-04-23 13:45:22 +02:00
entry-intc.S
headsmp-scu.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
intc-r8a7740.c ARM: shmobile: r8a7740: Add OF support to initialze the GIC 2013-06-04 16:49:19 +09:00
intc-r8a7779.c ARM: shmobile: Make r8a7779 INTC irqpin platform data static 2013-03-18 21:26:06 +09:00
intc-sh73a0.c ARM: shmobile: INTC External IRQ pin driver on sh73a0 2013-03-18 21:26:05 +09:00
intc-sh7372.c
Kconfig Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
Makefile ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
Makefile.boot ARM: shmobile: Remove Bonito board support 2013-06-17 16:07:31 +09:00
platsmp.c
pm-r8a7740.c
pm-r8a7779.c
pm-rmobile.c
pm-sh73a0.c
pm-sh7372.c ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys() 2013-06-17 16:06:47 +09:00
setup-emev2.c ARM: shmobile: emev2 GIO3 resource fix 2013-07-02 12:28:01 +09:00
setup-r8a73a4.c ARM: shmobile: r8a73a4: Fix resources for SCIFB0 2013-07-01 17:48:35 +09:00
setup-r8a7740.c ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
setup-r8a7778.c Second Round of Renesas ARM-based SoC updates for v3.11 2013-06-14 18:00:00 -07:00
setup-r8a7779.c Second Round of Renesas ARM-based SoC updates for v3.11 2013-06-14 18:00:00 -07:00
setup-r8a7790.c Renesas sh-sci updates for v3.11 2013-06-27 14:26:33 +02:00
setup-sh73a0.c Renesas ARM based SoC pinmux and GPIO update for v3.11 2013-06-13 14:45:20 +09:00
setup-sh7372.c ARM: convert arm/arm64 arch timer to use CLKSRC_OF init 2013-04-11 15:11:15 -05:00
sh-gpio.h
sleep-sh7372.S ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys() 2013-06-17 16:06:47 +09:00
smp-emev2.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
smp-r8a7779.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
smp-sh73a0.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
suspend.c arm: Use generic idle loop 2013-04-08 17:39:24 +02:00
timer.c ARM: convert arm/arm64 arch timer to use CLKSRC_OF init 2013-04-11 15:11:15 -05:00