diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2012-06-05 09:44:40 +0530 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-06-11 11:48:43 -0600 |
commit | b4e395b2cb5ce871f23a176fed74316a7de64a97 (patch) | |
tree | 876c73b9bbf130e3fbbe2f591f34dbda2bb314f4 /arch/arm/mach-tegra/cpuidle.c | |
parent | f3d549dd5b217d084c9fe6581e0430909440de2b (diff) | |
download | talos-obmc-linux-b4e395b2cb5ce871f23a176fed74316a7de64a97.tar.gz talos-obmc-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); |