From: Fengguang Wu Date: Wed, 19 Jun 2013 00:05:51 +0000 (+1000) Subject: swap: swapin_nr_pages() can be static X-Git-Tag: next-20130619~2^2~562 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=112c67595ae3f3730cb40a9af37dab9b4bc2169c;p=karo-tx-linux.git swap: swapin_nr_pages() can be static Signed-off-by: Fengguang Wu Cc: Shaohua Li Cc: Johannes Weiner Signed-off-by: Andrew Morton --- diff --git a/mm/swap_state.c b/mm/swap_state.c index e36a12d8ea2a..9a22fc65ffa4 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -394,7 +394,7 @@ struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, return found_page; } -unsigned long swapin_nr_pages(unsigned long offset) +static unsigned long swapin_nr_pages(unsigned long offset) { static unsigned long prev_offset; unsigned int pages, max_pages, last_ra;