From: Thierry Reding Date: Wed, 12 Dec 2012 21:51:17 +0000 (-0800) Subject: mm: compaction: Fix compiler warning X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~33^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bf2d8ba4fbc093de7c0d192fe5d2531f14b8b9;p=pandora-kernel.git 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 Acked-by: Mel Gorman Cc: Rik van Riel Cc: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed