diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-12-12 22:51:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 02:38:32 +0100 |
commit | c8bf2d8ba4fbc093de7c0d192fe5d2531f14b8b9 (patch) | |
tree | 0b26144dd758cc6cdceee1b1d2972bfab76b094c /kernel/profile.c | |
parent | thp: avoid race on multiple parallel page faults to the same page (diff) | |
download | linux-c8bf2d8ba4fbc093de7c0d192fe5d2531f14b8b9.tar.xz linux-c8bf2d8ba4fbc093de7c0d192fe5d2531f14b8b9.zip |
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>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions