X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=mm%2Fswap_state.c;h=adbc2b426c2f12aeaf1160ac0247d95bcf9a35bc;hb=c85b2a5fe200d744a814d23c258460d4fc98a546;hp=029e56eb5e77c342559954e7c18c710a5c51092e;hpb=3279ffd97f1b3962e40d3c5f09495ef8320b180b;p=linux-2.6 diff --git a/mm/swap_state.c b/mm/swap_state.c index 029e56eb5e..adbc2b426c 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -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, + unsigned int __nocast gfp_mask) { int error;