Message ID | 1289976668-27728-1-git-send-email-peppe.cavallaro@st.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a6786fdad97d2ef4454f75a11a4f2a3bf67f2348 |
Delegated to: | Paul Mundt |
Headers | show |
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index 81f5837..8c6a350 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c @@ -88,7 +88,7 @@ asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) } if (op & CACHEFLUSH_I) - flush_cache_all(); + flush_icache_range(addr, addr+len); up_read(¤t->mm->mmap_sem); return 0;