patch-2.4.20 linux-2.4.20/arch/mips/mm/c-tx39.c
Next file: linux-2.4.20/arch/mips/mm/c-tx49.c
Previous file: linux-2.4.20/arch/mips/mm/c-sb1.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/mm/c-tx39.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/mm/c-tx39.c linux-2.4.20/arch/mips/mm/c-tx39.c
@@ -20,7 +20,6 @@
#include <asm/system.h>
#include <asm/isadep.h>
#include <asm/io.h>
-#include <asm/wbflush.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
@@ -63,8 +62,8 @@
static void tx39h_dma_cache_wback_inv(unsigned long addr, unsigned long size)
{
unsigned long end, a;
- wbflush();
+ iob();
a = addr & ~(dcache_lsize - 1);
end = (addr + size) & ~(dcache_lsize - 1);
while (1) {
@@ -89,7 +88,7 @@
write_32bit_cp0_register(CP0_CONF, config);
__restore_flags(flags);
}
-
+
static void tx39_flush_cache_mm(struct mm_struct *mm)
{
if(mm->context != 0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)