projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ba904
)
rk30: pm: call local_flush_tlb_all on suspend instead of flush_tlb_all
author
黄涛
<huangtao@rock-chips.com>
Wed, 2 May 2012 02:16:43 +0000
(10:16 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 2 May 2012 02:16:43 +0000
(10:16 +0800)
Now only one cpu running.
arch/arm/mach-rk30/pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/pm.c
b/arch/arm/mach-rk30/pm.c
index 7537b86260c95d8a9f034f26b76a9fc1bf5e5133..51774b890546055c85495ee0eba6bc3950061c7e 100755
(executable)
--- a/
arch/arm/mach-rk30/pm.c
+++ b/
arch/arm/mach-rk30/pm.c
@@
-219,16
+219,13
@@
static void pm_pll_wait_lock(int pll_idx)
static unsigned long save_sp;
-//extern void __sramfunc ddr_selfrefresh_enter(void);
-//extern void __sramfunc ddr_selfrefresh_exit(void);
-
static noinline void interface_ctr_reg_pread(void)
{
u32 addr;
flush_cache_all();
outer_flush_all();
- flush_tlb_all();
+
local_
flush_tlb_all();
for (addr = (u32)SRAM_CODE_OFFSET; addr < (u32)SRAM_CODE_END; addr += PAGE_SIZE)
readl_relaxed(addr);