11 #include <linux/kernel.h>
14 #include <asm/cacheflush.h>
20 static void (*tegra_hotplug_shutdown)(
void);
35 tegra_hotplug_shutdown();
38 tegra_wait_cpu_in_reset(cpu);
39 tegra_disable_cpu_clock(cpu);
51 return cpu == 0 ? -
EPERM : 0;
54 #ifdef CONFIG_ARCH_TEGRA_2x_SOC
55 extern void tegra20_hotplug_shutdown(
void);
56 void __init tegra20_hotplug_init(
void)
58 tegra_hotplug_shutdown = tegra20_hotplug_shutdown;
62 #ifdef CONFIG_ARCH_TEGRA_3x_SOC
63 extern void tegra30_hotplug_shutdown(
void);
64 void __init tegra30_hotplug_init(
void)
66 tegra_hotplug_shutdown = tegra30_hotplug_shutdown;