patch-2.3.4 linux/include/linux/pagemap.h
Next file: linux/include/linux/parport.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 25 14:58:57 1999
- Orig file:
v2.3.3/linux/include/linux/pagemap.h
- Orig date:
Tue May 11 13:04:23 1999
diff -u --recursive --new-file v2.3.3/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 - mem_map);
+ return PAGE_OFFSET + ((page - mem_map) << PAGE_SHIFT);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)