mm, page_isolation: make set/unset_migratetype_isolate() file-local
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tue, 8 Sep 2015 22:02:09 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commitc5b4e1b02f2a0c2309ecd58a235a2f5ee4eb0074
tree40354604f661de3b308dbcff9f9af778192d9f48
parentacda0c3340282bc7c36f4e9a5e2ccb7bb7e64676
mm, page_isolation: make set/unset_migratetype_isolate() file-local

Nowaday, set/unset_migratetype_isolate() is defined and used only in
mm/page_isolation, so let's limit the scope within the file.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page-isolation.h
mm/page_isolation.c