Skip to content

Commit

Permalink
mm: make scan_all_zones_unevictable_pages() static
Browse files Browse the repository at this point in the history
sparse output following warning.

	mm/vmscan.c:2549:6: warning: symbol 'scan_all_zones_unevictable_pages' was not declared. Should it be static?

cleanup here.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jan 6, 2009
1 parent d38d2a7 commit ff30153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2506,7 +2506,7 @@ void scan_zone_unevictable_pages(struct zone *zone)
* that has possibly/probably made some previously unevictable pages
* evictable.
*/
void scan_all_zones_unevictable_pages(void)
static void scan_all_zones_unevictable_pages(void)
{
struct zone *zone;

Expand Down

0 comments on commit ff30153

Please sign in to comment.