diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2012-06-05 06:14:40 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-06-11 19:48:43 +0200 |
commit | b4e395b2cb5ce871f23a176fed74316a7de64a97 (patch) | |
tree | 876c73b9bbf130e3fbbe2f591f34dbda2bb314f4 /arch/arm/mach-tegra/cpuidle.c | |
parent | dt: name all Tegra binding docs consistently (diff) | |
download | linux-b4e395b2cb5ce871f23a176fed74316a7de64a97.tar.xz linux-b4e395b2cb5ce871f23a176fed74316a7de64a97.zip |
ARM: tegra: Remove flow controller programming
This particular code had no effect on WFI execution. It only
asserts/de-asserts signal to tegra "legacy" CPU idle stats
monitor, which we are no longer using (cpufreq is based on
kernel s/w idle stats instead).
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
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 @@ #include <linux/cpuidle.h> #include <linux/hrtimer.h> -#include <mach/iomap.h> +#include <asm/proc-fns.h> -extern void tegra_cpu_wfi(void); +#include <mach/iomap.h> static int tegra_idle_enter_lp3(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index); @@ -64,7 +64,7 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev, enter = ktime_get(); - tegra_cpu_wfi(); + cpu_do_idle(); exit = ktime_sub(ktime_get(), enter); us = ktime_to_us(exit); |