patch-2.4.9 linux/drivers/video/sticore.c

Next file: linux/drivers/video/tdfxfb.c
Previous file: linux/drivers/video/sticon-bmode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/video/sticore.c linux/drivers/video/sticore.c
@@ -208,8 +208,9 @@
 		offset++;
 		dest++;
 	}
-	__flush_dcache_range((unsigned long) dest, count);
-	__flush_icache_range((unsigned long) dest, count);
+
+	flush_kernel_dcache_range((unsigned long)dest, count);
+	flush_icache_range((unsigned long)dest, dest + count);
 }
 
 static void dump_sti_rom(struct sti_rom *rom)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)