patch-2.4.9 linux/drivers/video/sticon-bmode.c

Next file: linux/drivers/video/sticore.c
Previous file: linux/drivers/video/sis/sis_main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/video/sticon-bmode.c linux/drivers/video/sticon-bmode.c
@@ -473,8 +473,9 @@
 		offset++;
 		dest++;
 	}
-	__flush_dcache_range(dest, count);
-	__flush_icache_range(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)