diff options
author | Scott Williams <scwilliams@nvidia.com> | 2012-02-02 18:55:00 -0800 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-02-13 07:04:59 -0800 |
commit | 70d7047993252be0014593f6b7dfc5c2f31e6b52 (patch) | |
tree | 9e1193937b8c97acb14e441200cb7988a8847155 /arch/arm/mach-tegra/pm.c | |
parent | 2b4ee6d7eae39d7805a30fbfcfdeaeb0e32cc719 (diff) |
ARM: tegra: Clean up CACHE_L2X0 conditionals and includes
Change-Id: I9862e73f264c757f97aaad03f3373fb1d3e95462
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/79138
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pm.c')
-rw-r--r-- | arch/arm/mach-tegra/pm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/pm.c b/arch/arm/mach-tegra/pm.c index 23ff9e0ac93a..98903f7365ee 100644 --- a/arch/arm/mach-tegra/pm.c +++ b/arch/arm/mach-tegra/pm.c @@ -3,7 +3,7 @@ * * CPU complex suspend & resume functions for Tegra SoCs * - * Copyright (c) 2009-2011, NVIDIA Corporation. + * Copyright (c) 2009-2012, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +46,6 @@ #include <asm/cacheflush.h> #include <asm/cpu_pm.h> -#include <asm/hardware/cache-l2x0.h> #include <asm/hardware/gic.h> #include <asm/localtimer.h> #include <asm/pgalloc.h> @@ -620,9 +619,7 @@ unsigned int tegra_idle_lp2_last(unsigned int sleep_time, unsigned int flags) tegra_sleep_cpu(PLAT_PHYS_OFFSET - PAGE_OFFSET); -#ifdef CONFIG_CACHE_L2X0 tegra_init_cache(false); -#endif tegra_cluster_switch_time(flags, tegra_cluster_switch_time_id_switch); restore_cpu_complex(mode); cpu_complex_pm_exit(); |