patch-2.3.15 linux/include/asm-alpha/pgtable.h

Next file: linux/include/asm-alpha/unistd.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/include/asm-alpha/pgtable.h linux/include/asm-alpha/pgtable.h
@@ -621,4 +621,7 @@
 #define PageSkip(page)		(0)
 #define kern_addr_valid(addr)	(1)
 
+#define io_remap_page_range(start, busaddr, size, prot) \
+	remap_page_range(start, virt_to_phys(ioremap(busaddr)), size, prot)
+
 #endif /* _ALPHA_PGTABLE_H */

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