patch-2.4.10 linux/include/linux/pagemap.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/ntfs_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Sep 23 10:31:09 2001
- Orig file:
v2.4.9/linux/include/linux/pagemap.h
- Orig date:
Sun Aug 12 13:28:01 2001
diff -u --recursive --new-file v2.4.9/linux/include/linux/pagemap.h linux/include/linux/pagemap.h
@@ -29,7 +29,6 @@
#define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK)
#define page_cache_get(x) get_page(x)
-#define page_cache_free(x) __free_page(x)
#define page_cache_release(x) __free_page(x)
static inline struct page *page_cache_alloc(struct address_space *x)
@@ -80,11 +79,6 @@
extern void lock_page(struct page *page);
#define find_lock_page(mapping, index) \
__find_lock_page(mapping, index, page_hash(mapping, index))
-
-extern struct page * __find_get_swapcache_page (struct address_space * mapping,
- unsigned long index, struct page **hash);
-#define find_get_swapcache_page(mapping, index) \
- __find_get_swapcache_page(mapping, index, page_hash(mapping, index))
extern void __add_page_to_hash_queue(struct page * page, struct page **p);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)