commit | c8bf2d8ba4fbc093de7c0d192fe5d2531f14b8b9 | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@avionic-design.de> | Wed Dec 12 13:51:17 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 12 17:38:32 2012 -0800 |
tree | 0b26144dd758cc6cdceee1b1d2972bfab76b094c | |
parent | 3ea41e6210fea3b234b6cb3e9443e75975850bbf [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>