]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/swap_state.c
[PATCH] mm: kill check_user_page_readable
[karo-tx-linux.git] / mm / swap_state.c
index 029e56eb5e77c342559954e7c18c710a5c51092e..132164f7d0a758b3896c7b5536c298032c3b7ddd 100644 (file)
@@ -67,8 +67,8 @@ void show_swap_cache_info(void)
  * __add_to_swap_cache resembles add_to_page_cache on swapper_space,
  * but sets SwapCache flag and private instead of mapping and index.
  */
-static int __add_to_swap_cache(struct page *page,
-               swp_entry_t entry, int gfp_mask)
+static int __add_to_swap_cache(struct page *page, swp_entry_t entry,
+                              gfp_t gfp_mask)
 {
        int error;