diff mbox

sh4: using PAGE_SIZE during flushing cache related to a page

Message ID 4AD44CF4.7050802@siemens.com (mailing list archive)
State Accepted
Headers show

Commit Message

Valentin R Sitsikov Oct. 13, 2009, 9:48 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index 56dd55a..2cb050d 100644
--- a/arch/sh/mm/cache-sh4.c
+++ b/arch/sh/mm/cache-sh4.c
@@ -27,7 +27,7 @@ 
  */
 #define MAX_ICACHE_PAGES    32
 
-static void __flush_cache_4096(unsigned long addr, unsigned long phys,
+static void __flush_cache_page(unsigned long addr, unsigned long phys,
                    unsigned long exec_offset);
 
 /*
@@ -82,7 +82,7 @@  static void __uses_jump_to_uncached 
sh4_flush_icache_range(void *args)
     local_irq_restore(flags);
 }
 
-static inline void flush_cache_4096(unsigned long start,
+static inline void _flush_cache_page(unsigned long start,
                     unsigned long phys)
 {