linux/arch/arm/mach-ux500
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
..
board-mop500-audio.c ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one 2013-06-04 11:12:07 +02:00
board-mop500-pins.c ARM: ux500: board-mop500: remove unused pin modes 2013-06-14 17:15:34 -07:00
board-mop500-regulators.c Minor board changes for v3.11 merge window. These are 2013-06-20 21:37:55 +02:00
board-mop500-regulators.h ARM: arm-soc non-critical fixes for 3.10 2013-05-02 08:56:55 -07:00
board-mop500-sdi.c ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
board-mop500-stuib.c Input: bu21013_ts - move GPIO init and exit functions into the driver 2012-11-27 23:05:11 -08:00
board-mop500-u8500uib.c ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
board-mop500-uib.c ARM: ux500: get rid of <mach/[hardware|db8500-regs].h> 2013-04-08 13:59:28 +02:00
board-mop500.c Merge branch 'ux500/cleanup' into next/drivers 2013-06-21 14:48:58 +02:00
board-mop500.h Merge branch 'ux500/cleanup' into next/drivers 2013-06-21 14:48:58 +02:00
cache-l2x0.c ARM: ux500: bail out on alien cpus 2013-06-27 15:00:56 +02:00
cpu-db8500.c ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
cpu.c clk: ux500: Pass clock base adresses in initcall for u8540 and u9540 2013-06-06 18:16:04 -07:00
cpuidle.c ARM: ux500: Only configure wake-up reasons on ux500 based platforms 2013-05-27 14:08:20 +02:00
db8500-regs.h ARM: ux500: avoid warning in ux500_read_asicid 2013-06-04 11:21:58 +02:00
devices-common.c ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
devices-common.h ARM: ux500: add PRCM register base for pinctrl 2012-11-08 13:44:41 +01:00
devices-db8500.c ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
devices-db8500.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
devices.c ARM: ux500: make remaining headers local 2013-04-08 13:59:48 +02:00
devices.h ARM: ux500: make remaining headers local 2013-04-08 13:59:48 +02:00
headsmp.S
hotplug.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-05-03 09:13:19 -07:00
id.c ARM: ux500: avoid warning in ux500_read_asicid 2013-06-04 11:21:58 +02:00
id.h ARM: ux500: de-globalize <mach/id.h> 2013-01-29 18:47:37 +01:00
irqs-board-mop500.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
irqs-db8500.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
irqs.h ARM: ux500: make irqs.h local to platform 2013-04-08 13:59:44 +02:00
Kconfig ARM: ux500: select REGULATOR 2013-05-15 15:54:00 +02:00
Makefile ARM: ux500: build hotplug.o for ARMv7-a 2013-04-08 13:59:54 +02:00
Makefile.boot
pins-db8500.h
platsmp.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
pm.c ARM: ux500: get rid of <mach/[hardware|db8500-regs].h> 2013-04-08 13:59:28 +02:00
setup.h ARM: ux500: Remove duplicated assignment of ab8500_platdata 2013-05-14 10:14:40 +02:00
ste-dma40-db8500.h dmaengine: ste_dma40: Amalgamate DMA source and destination channel numbers 2013-05-23 21:11:51 +02:00
timer.c Merge tag 'ux500-multiplatform-asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/multiplatform 2013-04-09 16:01:52 +02:00
usb.c ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one 2013-06-04 11:12:07 +02:00