linux/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
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 arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
board-trout-mmc.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
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 Add GPIO support for HTC Dream. 2010-06-15 13:19:43 -07:00
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 iommu/msm: Fix compile error in mach-msm/devices-iommu.c 2011-12-06 11:17:34 +01:00
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 msm: 8x50: Add initial support for SDCC 2011-01-21 16:58:02 -08:00
gpiomux-v1.c msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
gpiomux-v1.h msm: add gpiomux api for gpio multiplex & configuration. 2010-10-06 09:01:15 -07:00
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 arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
Kconfig ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs 2013-06-12 13:52:51 -07:00
last_radio_log.c proc: Use PDE attribute setting accessor functions 2013-05-07 15:01:11 -04: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
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 msm: scm-boot: Support for setting cold/warm boot addresses 2011-01-07 15:54:43 -08:00
scm-boot.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
scm.c ARM: msm: fix compilation flags for MSM_SCM (part 2) 2012-05-11 11:08:37 -07:00
scm.h msm: Use explicit GPLv2 licenses 2011-02-28 12:40:05 -08:00
sirc.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
smd_debug.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
smd_private.h
smd.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
timer.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
vreg.c ARM: msm: vreg is a module and so needs module.h 2012-01-06 11:07:57 -08:00