From: Fengguang Wu Date: Thu, 27 Jun 2013 23:51:20 +0000 (+1000) Subject: swap: swapin_nr_pages() can be static X-Git-Tag: next-20130628~3^2~591 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee9ce4cccbc62ed39a45751da28dd6cd727e6a10;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;