X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fswap_state.c;h=50757ee3f9f3ee243ad23df60ae56a923bb0e64e;hb=f96c148fd53a2a0dbb2d768895c7cf6951e35cc5;hp=ec42f01a8d02669fb5bd2c73dcffefb5bb619f6c;hpb=3d412f60b71e588544e7b75861084f12aa1d7acd;p=deliverable%2Flinux.git diff --git a/mm/swap_state.c b/mm/swap_state.c index ec42f01a8d02..50757ee3f9f3 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -115,6 +115,7 @@ void __delete_from_swap_cache(struct page *page) /** * add_to_swap - allocate swap space for a page * @page: page we want to move to swap + * @gfp_mask: memory allocation flags * * Allocate swap space for the page and add the page to the * swap cache. Caller needs to hold the page lock. @@ -315,6 +316,7 @@ struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, /** * swapin_readahead - swap in pages in hope we need them soon * @entry: swap entry of this memory + * @gfp_mask: memory allocation flags * @vma: user vma this address belongs to * @addr: target address for mempolicy *