diff options
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle-tegra20.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c index 4f25a7c7ca0f..48844ae6c3a1 100644 --- a/arch/arm/mach-tegra/cpuidle-tegra20.c +++ b/arch/arm/mach-tegra/cpuidle-tegra20.c | |||
@@ -20,7 +20,7 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/clk/tegra.h> | 22 | #include <linux/clk/tegra.h> |
23 | #include <linux/clockchips.h> | 23 | #include <linux/tick.h> |
24 | #include <linux/cpuidle.h> | 24 | #include <linux/cpuidle.h> |
25 | #include <linux/cpu_pm.h> | 25 | #include <linux/cpu_pm.h> |
26 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
@@ -136,11 +136,11 @@ static bool tegra20_cpu_cluster_power_down(struct cpuidle_device *dev, | |||
136 | if (tegra20_reset_cpu_1() || !tegra_cpu_rail_off_ready()) | 136 | if (tegra20_reset_cpu_1() || !tegra_cpu_rail_off_ready()) |
137 | return false; | 137 | return false; |
138 | 138 | ||
139 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &dev->cpu); | 139 | tick_broadcast_enter(); |
140 | 140 | ||
141 | tegra_idle_lp2_last(); | 141 | tegra_idle_lp2_last(); |
142 | 142 | ||
143 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu); | 143 | tick_broadcast_exit(); |
144 | 144 | ||
145 | if (cpu_online(1)) | 145 | if (cpu_online(1)) |
146 | tegra20_wake_cpu1_from_reset(); | 146 | tegra20_wake_cpu1_from_reset(); |
@@ -153,13 +153,13 @@ static bool tegra20_idle_enter_lp2_cpu_1(struct cpuidle_device *dev, | |||
153 | struct cpuidle_driver *drv, | 153 | struct cpuidle_driver *drv, |
154 | int index) | 154 | int index) |
155 | { | 155 | { |
156 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &dev->cpu); | 156 | tick_broadcast_enter(); |
157 | 157 | ||
158 | cpu_suspend(0, tegra20_sleep_cpu_secondary_finish); | 158 | cpu_suspend(0, tegra20_sleep_cpu_secondary_finish); |
159 | 159 | ||
160 | tegra20_cpu_clear_resettable(); | 160 | tegra20_cpu_clear_resettable(); |
161 | 161 | ||
162 | clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu); | 162 | tick_broadcast_exit(); |
163 | 163 | ||
164 | return true; | 164 | return true; |
165 | } | 165 | } |