WSL2-Linux-Kernel/arch/arm/mach-msm
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 late changes 2013-07-02 14:42:51 -07:00
Kconfig ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs 2013-06-12 13:52:51 -07:00
Makefile ARM SoC late changes 2013-07-02 14:42:51 -07:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
board-dt-8660.c ARM: msm: Remove init_irq declaration in machine description 2013-05-15 10:11:01 -07:00
board-dt-8960.c ARM: msm: Remove init_irq declaration in machine description 2013-05-15 10:11:01 -07:00
board-halibut.c ARM: msm: Make proc_comm clock control into a platform driver 2013-06-24 13:07:53 -07:00
board-mahimahi.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-msm7x30.c ARM: msm: Make proc_comm clock control into a platform driver 2013-06-24 13:07:53 -07:00
board-qsd8x50.c ARM: msm: Make proc_comm clock control into a platform driver 2013-06-24 13:07:53 -07:00
board-sapphire.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-trout-gpio.c
board-trout-mmc.c
board-trout-panel.c ARM: msm: Prepare clk_get() users in mach-msm for clock-pcom driver 2013-06-24 13:06:43 -07:00
board-trout.c ARM: msm: Make proc_comm clock control into a platform driver 2013-06-24 13:07:53 -07:00
board-trout.h
clock-pcom.c ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
clock-pcom.h ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
clock.c ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
clock.h ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
common.h ARM: 7728/1: mm: Use phys_addr_t properly for ioremap functions 2013-05-23 00:09:44 +01:00
devices-iommu.c
devices-msm7x00.c ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
devices-msm7x30.c ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
devices-qsd8x50.c ARM: msm: Migrate to common clock framework 2013-06-24 13:08:05 -07:00
devices.h ARM: msm: Make proc_comm clock control into a platform driver 2013-06-24 13:07:53 -07:00
dma.c ARM: msm: Prepare clk_get() users in mach-msm for clock-pcom driver 2013-06-24 13:06:43 -07:00
gpiomux-8x50.c
gpiomux-v1.c
gpiomux-v1.h
gpiomux.c ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs 2013-06-12 13:52:51 -07:00
gpiomux.h ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs 2013-06-12 13:52:51 -07:00
headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
io.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
irq-vic.c
irq.c
last_radio_log.c proc: Use PDE attribute setting accessor functions 2013-05-07 15:01:11 -04:00
platsmp.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
proc_comm.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
proc_comm.h ARM: msm: proc_comm_boot_wait should not be __init 2013-02-11 17:42:28 -08:00
scm-boot.c
scm-boot.h
scm.c
scm.h
sirc.c
smd.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
smd_debug.c
smd_private.h
timer.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
vreg.c