summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2011-11-01 01:09:08 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 01:30:49 +0100
commitd43a87e68e9e71d2987a29cc239acec4e8f410c9 (patch)
tree75b2950b286dcad4c4e7785f991ab0a35146b8d1 /mm/compaction.c
parentHWPOISON: convert pr_debug()s to pr_info()s (diff)
downloadlinux-d43a87e68e9e71d2987a29cc239acec4e8f410c9.tar.xz
linux-d43a87e68e9e71d2987a29cc239acec4e8f410c9.zip
mm: compaction: make compact_zone_order() static
There's no compact_zone_order() user outside file scope, so make it static. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: David Rientjes <rientjes@google.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--mm/compaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index a0e420207ebf..899d95638586 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -582,7 +582,7 @@ out:
return ret;
}
-unsigned long compact_zone_order(struct zone *zone,
+static unsigned long compact_zone_order(struct zone *zone,
int order, gfp_t gfp_mask,
bool sync)
{