summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/sleep.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-07-11 11:00:37 +0200
committerThierry Reding <treding@nvidia.com>2014-07-17 14:58:41 +0200
commit05ccf19602cc16fc96401b4f2617d1b8e20e642d (patch)
tree0213edb6c6b8e0147c28b5785f5c966c4d0304a9 /arch/arm/mach-tegra/sleep.h
parenta2686766c81e18fb1ab9375cf5d3cbd54a3bed2c (diff)
downloadop-kernel-dev-05ccf19602cc16fc96401b4f2617d1b8e20e642d.zip
op-kernel-dev-05ccf19602cc16fc96401b4f2617d1b8e20e642d.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-tegra/sleep.h')
-rw-r--r--arch/arm/mach-tegra/sleep.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h
index 339fe42..92d46ec 100644
--- a/arch/arm/mach-tegra/sleep.h
+++ b/arch/arm/mach-tegra/sleep.h
@@ -130,9 +130,6 @@ void tegra_disable_clean_inv_dcache(u32 flag);
#ifdef CONFIG_HOTPLUG_CPU
void tegra20_hotplug_shutdown(void);
void tegra30_hotplug_shutdown(void);
-void tegra_hotplug_init(void);
-#else
-static inline void tegra_hotplug_init(void) {}
#endif
void tegra20_cpu_shutdown(int cpu);
OpenPOWER on IntegriCloud