Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mm
In directory usw-pr-cvs1:/tmp/cvs-serv7433/include/asm-vax/mm
Modified Files:
virtmap.h
Log Message:
Merge with Linux 2.5.1.
Index: virtmap.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mm/virtmap.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- virtmap.h 20 May 2002 00:33:39 -0000 1.3
+++ virtmap.h 31 May 2002 01:58:39 -0000 1.4
@@ -43,5 +43,7 @@
#define virt_to_bus virt_to_phys
#define bus_to_virt phys_to_virt
+/* Needed for BIO layer. Convert a struct page * to a physical address */
+#define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT)
#endif /* _VAX_ASM_VIRT_H */
|