From: Minchan Kim Date: Tue, 16 Jun 2009 22:33:01 +0000 (-0700) Subject: mm: remove annotation of gfp_mask in add_to_swap X-Git-Tag: v2.6.31-rc1~299^2~95 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8192da6a8811ab6c3d29dc590a5f94a377c43739;p=~shefty%2Frdma-dev.git mm: remove annotation of gfp_mask in add_to_swap Hugh removed add_to_swap's gfp_mask argument. (mm: remove gfp_mask from add_to_swap) So we have to remove annotation of gfp_mask of the function. Signed-off-by: Minchan Kim Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/swap_state.c b/mm/swap_state.c index b9ca029673a..b62e7f56051 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -124,7 +124,6 @@ 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.