diff options
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c index d83a8c0296f5..566e2f88899b 100644 --- a/arch/arm/mach-tegra/cpuidle.c +++ b/arch/arm/mach-tegra/cpuidle.c | |||
@@ -27,9 +27,9 @@ | |||
27 | #include <linux/cpuidle.h> | 27 | #include <linux/cpuidle.h> |
28 | #include <linux/hrtimer.h> | 28 | #include <linux/hrtimer.h> |
29 | 29 | ||
30 | #include <mach/iomap.h> | 30 | #include <asm/proc-fns.h> |
31 | 31 | ||
32 | extern void tegra_cpu_wfi(void); | 32 | #include <mach/iomap.h> |
33 | 33 | ||
34 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, | 34 | static int tegra_idle_enter_lp3(struct cpuidle_device *dev, |
35 | struct cpuidle_driver *drv, int index); | 35 | struct cpuidle_driver *drv, int index); |
@@ -64,7 +64,7 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev, | |||
64 | 64 | ||
65 | enter = ktime_get(); | 65 | enter = ktime_get(); |
66 | 66 | ||
67 | tegra_cpu_wfi(); | 67 | cpu_do_idle(); |
68 | 68 | ||
69 | exit = ktime_sub(ktime_get(), enter); | 69 | exit = ktime_sub(ktime_get(), enter); |
70 | us = ktime_to_us(exit); | 70 | us = ktime_to_us(exit); |