add page_address()
authorDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 04:27:21 +0000 (04:27 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 04:27:21 +0000 (04:27 +0000)
include/linux/mm.h

index 645ce36b22ae2ae49ad67e7b16117067cccb8a60..98c1e993b114532a088b81deb9a40c65e4d1d759 100644 (file)
@@ -9,6 +9,7 @@
 
 #if LINUX_VERSION_CODE < 0x020300
 #define VM_OFFSET(a)   ((a)->vm_offset)
+#define page_address(page) page
 #else
 #define VM_OFFSET(a)   ((a)->vm_pgoff * PAGE_SIZE)
 #endif