summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAjay Nandakumar <anandakumarm@nvidia.com>2013-10-17 19:27:12 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-17 22:13:08 -0700
commit89b99dcbf5e5f5649b01d374c9d104d6ea362226 (patch)
tree97c14e94eb1f69309793022a9fca9e236de7a2c9 /drivers/clocksource
parent7fd947e48672f4a9695db953d3f746f4359c0600 (diff)
clocksource: tegra: Disable for wakeup timers for non-smp platforms
Disabling wakeup timers for non-smp platforms Change-Id: Ie309a9157440795c82cfb525316d24036ee57191 Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/300614 Reviewed-by: Matt Craighead <mcraighead@nvidia.com> Tested-by: Matt Craighead <mcraighead@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/tegra-nvtimers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clocksource/tegra-nvtimers.c b/drivers/clocksource/tegra-nvtimers.c
index 1f29f6cdd928..a23dbf43da76 100644
--- a/drivers/clocksource/tegra-nvtimers.c
+++ b/drivers/clocksource/tegra-nvtimers.c
@@ -455,7 +455,10 @@ void __init tegra_init_timer(struct device_node *np)
WARN(1, "Unknown clock rate");
}
+
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_HOTPLUG_CPU)
hotplug_cpu_register(np);
+#endif
of_node_put(np);
#ifdef CONFIG_ARCH_TEGRA_2x_SOC
tegra20_init_timer();