diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-07-12 18:05:12 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:46:54 -0800 |
commit | 108c397e52eed8e8f6fa510cdba20d0c7665de21 (patch) | |
tree | 813f43fda7ad5859e920f6d89eb6f0d71bb1f3bb /arch/arm/mach-tegra/cpuidle.h | |
parent | 27a435eb62ef122692e904cbd2959ac191bc43cc (diff) |
ARM: tegra: Add Tegra GIC extensions
Implement extensions to the standard ARM GIC API for Tegra3 power management.
Change-Id: If8b2ce2b366e48bb5ca82d3de2acab1fd0a81bb9
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: Rd7527cd57edf054c871f5d04d7e9185643f79843
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.h')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.h b/arch/arm/mach-tegra/cpuidle.h index ae3386139d38..5d0c3d695342 100644 --- a/arch/arm/mach-tegra/cpuidle.h +++ b/arch/arm/mach-tegra/cpuidle.h @@ -75,15 +75,6 @@ static inline int tegra_lp2_debug_show(struct seq_file *s, void *data) } #endif -static inline int tegra_pending_interrupt(void) -{ - void __iomem *gic_cpu = IO_ADDRESS(TEGRA_ARM_PERIF_BASE + 0x100); - u32 reg = readl(gic_cpu + 0x18); - reg &= 0x3FF; - - return reg; -} - #ifdef CONFIG_CPU_IDLE void tegra_lp2_in_idle(bool enable); #else |