Skip to contentSkip to conversation

try#2 Fix non-SMP build Sibyte 1250 SOC, kernel linux-mips.git master

PATCH Applied [email protected] 2 participants 2 messages Feb 10, 2007 – Feb 13, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 try#2 Fix non-SMP build Sibyte 1250 SOC, kernel linux-mips.git master

Try #2, sorry, first patch was reversed.

Fix build of non-SMP for Sibyte 1250 SOC

arch/mips/mm/c-sb1.c +6 -0
index 3a8afd4..9ea460b 100644
@@ -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