diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-09 23:31:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-09 23:31:49 -0700 |
| commit | 48fe688958ed01aa3adbc63ef9f90bd1a849cdb7 (patch) | |
| tree | 0273e7983d10338c3635088cc87cc18bd8cb5614 /include/linux/swap.h | |
| parent | 0c4a2e9ca79417da7d8f22f7861d8e249e0cfe41 (diff) | |
| parent | 5e5a291ecb2efae6149bec1a4b601c9c495117aa (diff) | |
Merge bk://ppc.bkbits.net/for-linus-ppc
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Diffstat (limited to 'include/linux/swap.h')
| -rw-r--r-- | include/linux/swap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index 824a928d5c37..a7a64ba55816 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -109,7 +109,7 @@ extern void __remove_inode_page(struct page *); struct task_struct; struct vm_area_struct; struct sysinfo; - +struct address_space; struct zone_t; /* linux/mm/swap.c */ @@ -139,6 +139,9 @@ extern void show_swap_cache_info(void); extern int add_to_swap_cache(struct page *, swp_entry_t); extern void __delete_from_swap_cache(struct page *page); extern void delete_from_swap_cache(struct page *page); +extern int move_to_swap_cache(struct page *page, swp_entry_t entry); +extern int move_from_swap_cache(struct page *page, unsigned long index, + struct address_space *mapping); extern void free_page_and_swap_cache(struct page *page); extern struct page * lookup_swap_cache(swp_entry_t); extern struct page * read_swap_cache_async(swp_entry_t); |
