diff options
-rw-r--r-- | arch/mips/mm/c-sb1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c index 3a8afd47feaa..9ea460b16bda 100644 --- a/arch/mips/mm/c-sb1.c +++ b/arch/mips/mm/c-sb1.c | |||
@@ -259,6 +259,12 @@ static void sb1_flush_cache_data_page(unsigned long addr) | |||
259 | on_each_cpu(sb1_flush_cache_data_page_ipi, (void *) addr, 1, 1); | 259 | on_each_cpu(sb1_flush_cache_data_page_ipi, (void *) addr, 1, 1); |
260 | } | 260 | } |
261 | #else | 261 | #else |
262 | |||
263 | static void local_sb1_flush_cache_data_page(unsigned long addr) | ||
264 | { | ||
265 | __sb1_writeback_inv_dcache_range(addr, addr + PAGE_SIZE); | ||
266 | } | ||
267 | |||
262 | void sb1_flush_cache_data_page(unsigned long) | 268 | void sb1_flush_cache_data_page(unsigned long) |
263 | __attribute__((alias("local_sb1_flush_cache_data_page"))); | 269 | __attribute__((alias("local_sb1_flush_cache_data_page"))); |
264 | #endif | 270 | #endif |