mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
ARM: tegra: suspend: Fix build with CONFIG_CACHE_L2X0=n
Change-Id: I85c3a98d0c9f61153969649bb9de20a9158e9ee4 Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
This commit is contained in:
committed by
Colin Cross
parent
3d8c542754
commit
5e4f94d29f
@@ -458,13 +458,17 @@ static void tegra_suspend_dram(bool do_lp0)
|
||||
|
||||
suspend_cpu_complex();
|
||||
flush_cache_all();
|
||||
#ifdef CONFIG_CACHE_L2X0
|
||||
l2x0_shutdown();
|
||||
#endif
|
||||
|
||||
__cortex_a9_save(mode);
|
||||
restore_cpu_complex();
|
||||
|
||||
writel(orig, evp_reset);
|
||||
#ifdef CONFIG_CACHE_L2X0
|
||||
l2x0_restart();
|
||||
#endif
|
||||
|
||||
if (!do_lp0) {
|
||||
memcpy(iram_code, iram_save, iram_save_size);
|
||||
|
||||
Reference in New Issue
Block a user