patch-2.2.0-pre9 linux/include/linux/pagemap.h
Next file: linux/include/linux/poll.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jan 20 16:23:33 1999
- Orig file:
v2.2.0-pre8/linux/include/linux/pagemap.h
- Orig date:
Thu Nov 19 09:56:29 1998
diff -u --recursive --new-file v2.2.0-pre8/linux/include/linux/pagemap.h linux/include/linux/pagemap.h
@@ -14,7 +14,7 @@
static inline unsigned long page_address(struct page * page)
{
- return PAGE_OFFSET + PAGE_SIZE * page->map_nr;
+ return PAGE_OFFSET + PAGE_SIZE * (page - mem_map);
}
#define PAGE_HASH_BITS 11
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov