acrn-kernel/arch/arm/mach-tegra
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
..
Kconfig Power management and ACPI updates for 3.11-rc1 2013-07-03 14:35:40 -07:00
Makefile ARM: tegra114: add CPU hotplug support 2013-05-22 15:19:22 -06:00
apbio.c
apbio.h
board-harmony-pcie.c
board-paz00.c
board-paz00.h
board.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
common.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
common.h ARM: tegra: add cpu_disable for hotplug 2013-05-28 15:26:07 -06:00
cpuidle-tegra20.c ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2 2013-06-05 11:44:58 -06:00
cpuidle-tegra30.c ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2 2013-06-05 11:44:58 -06:00
cpuidle-tegra114.c
cpuidle.c ARM: tegra: cpuidle: using IS_ENABLED for multi SoCs management in init func 2013-06-05 11:44:54 -06:00
cpuidle.h ARM: tegra: cpuidle: using IS_ENABLED for multi SoCs management in init func 2013-06-05 11:44:54 -06:00
flowctrl.c
flowctrl.h ARM: tegra114: add power up sequence for warm boot CPU 2013-05-22 15:19:22 -06:00
fuse.c
fuse.h ARM: tegra: add an assembly marco to check Tegra SoC ID 2013-05-22 15:19:21 -06:00
gpio-names.h
headsmp.S
hotplug.c ARM: tegra: add cpu_disable for hotplug 2013-05-28 15:26:07 -06:00
io.c
iomap.h
irammap.h
irq.c
irq.h
pcie.c
platsmp.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
pm.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
pm.h ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2 2013-06-05 11:44:58 -06:00
pmc.c ARM: tegra: fix section mismatch in tegra_pmc_parse_dt 2013-06-25 11:16:15 -07:00
pmc.h
powergate.c
reset-handler.S ARM: tegra: remove ifdef in the tegra_resume 2013-06-05 11:37:08 -06:00
reset.c
reset.h
sleep-tegra20.S
sleep-tegra30.S ARM: tegra114: add CPU hotplug support 2013-05-22 15:19:22 -06:00
sleep.S ARM: tegra: skip SCU and PL310 code when CPU is not Cortex-A9 2013-05-22 15:19:22 -06:00
sleep.h ARM: tegra114: add CPU hotplug support 2013-05-22 15:19:22 -06:00
tegra.c
tegra2_emc.c ARM: tegra: core SoC support enhancements 2013-06-14 18:11:31 -07:00
tegra2_emc.h
tegra20_speedo.c
tegra30_speedo.c
tegra114_speedo.c