From: Andrew Sharp Date: Sat, 10 Feb 2007 01:35:28 +0000 (-0800) Subject: [MIPS] Fix uniprocessor Sibyte builds. X-Git-Tag: upstream/snapshot3+hdmi~35992^2~5^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=366d6aef281a670b32a51d289fc07bf0e5e72d9a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [MIPS] Fix uniprocessor Sibyte builds. Signed-off-by: Andrew Sharp Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c index 3a8afd4..9ea460b 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) on_each_cpu(sb1_flush_cache_data_page_ipi, (void *) addr, 1, 1); } #else + +static void local_sb1_flush_cache_data_page(unsigned long addr) +{ + __sb1_writeback_inv_dcache_range(addr, addr + PAGE_SIZE); +} + void sb1_flush_cache_data_page(unsigned long) __attribute__((alias("local_sb1_flush_cache_data_page"))); #endif