]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: compaction: Fix compiler warning
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 29 Nov 2012 03:18:02 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:17 +0000 (16:23 +1100)
commit21f040146fb9be5a7567948064cb2a044aa7acb6
treebb206cac08d7c46b363b6195f7767eff556a3d3e
parent124a293c7b501c1f3654e4f46756a5f4224735ee
mm: compaction: Fix compiler warning

compact_capture_page() is only used if compaction is enabled so it should
be moved into the corresponding #ifdef.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c