patch-2.4.19 linux-2.4.19/drivers/block/z2ram.c

Next file: linux-2.4.19/drivers/bluetooth/Config.in
Previous file: linux-2.4.19/drivers/block/xd.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/block/z2ram.c linux-2.4.19/drivers/block/z2ram.c
@@ -38,7 +38,7 @@
 #include <asm/bitops.h>
 #include <asm/amigahw.h>
 #include <asm/pgtable.h>
-#include <asm/io.h>
+
 #include <linux/zorro.h>
 
 
@@ -207,7 +207,7 @@
 						   _PAGE_WRITETHRU);
 
 #else
-		vaddr = (unsigned long)ioremap(paddr, size);
+		vaddr = (unsigned long)z_remap_nocache_nonser(paddr, size);
 #endif
 		z2ram_map = 
 			kmalloc((size/Z2RAM_CHUNKSIZE)*sizeof(z2ram_map[0]),

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