ARM: tegra: Setup CPU hotplug in a pure initcall
authorThierry Reding <treding@nvidia.com>
Fri, 11 Jul 2014 09:00:37 +0000 (11:00 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Jul 2014 12:58:41 +0000 (14:58 +0200)
commit05ccf19602cc16fc96401b4f2617d1b8e20e642d
tree0213edb6c6b8e0147c28b5785f5c966c4d0304a9
parenta2686766c81e18fb1ab9375cf5d3cbd54a3bed2c
ARM: tegra: Setup CPU hotplug in a pure initcall

CPU hotplug support doesn't have to be set up until fairly late in the
boot process, so it can be done in a regular initcall. To make sure that
we don't miss any ordering problems in the future, output a warning if
any of the functions are called before initialization has completed.

This is part of untangling the boot order dependencies on Tegra so that
more code can be shared between 32-bit and 64-bit ARM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/hotplug.c
arch/arm/mach-tegra/sleep.h
arch/arm/mach-tegra/tegra.c