patch-2.4.20 linux-2.4.20/include/asm-sparc/io.h
Next file: linux-2.4.20/include/asm-sparc/kmap_types.h
Previous file: linux-2.4.20/include/asm-sparc/highmem.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-sparc/io.h
- Orig date:
Tue Nov 13 09:16:05 2001
diff -urN linux-2.4.19/include/asm-sparc/io.h linux-2.4.20/include/asm-sparc/io.h
@@ -13,6 +13,7 @@
#define virt_to_bus virt_to_phys
#define bus_to_virt phys_to_virt
+#define page_to_phys(page) ((((page) - mem_map) << PAGE_SHIFT)+phys_base)
static __inline__ u32 flip_dword (u32 d)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)