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)
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

Simple merge
Simple merge
Simple merge