summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2009-06-16 15:33:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-16 19:47:43 -0700
commit8192da6a8811ab6c3d29dc590a5f94a377c43739 (patch)
tree1801978858a01688af7ee65a7e2b9ff613f5be19 /mm/swap_state.c
parent73d60b7f747176dbdff826c4127d22e1fd3f9f74 (diff)
downloadlinux-8192da6a8811ab6c3d29dc590a5f94a377c43739.tar.gz
linux-8192da6a8811ab6c3d29dc590a5f94a377c43739.tar.bz2
linux-8192da6a8811ab6c3d29dc590a5f94a377c43739.zip
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 <minchan.kim@gmail.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
-rw-r--r--mm/swap_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c
index b9ca029673a5..b62e7f56051c 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.