diff options
author | Minchan Kim <minchan@kernel.org> | 2012-12-20 15:05:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-20 17:40:18 -0800 |
commit | 010fc29a45a2e8dbc08bf45ef80b8622619aaae0 (patch) | |
tree | b5ef6be5185c4a57a3231b07fdb15b902383968e /mm/page-writeback.c | |
parent | 787314c35fbb97e02823a1b8eb8cfa58f366cd49 (diff) | |
download | lwn-010fc29a45a2e8dbc08bf45ef80b8622619aaae0.tar.gz lwn-010fc29a45a2e8dbc08bf45ef80b8622619aaae0.zip |
compaction: fix build error in CMA && !COMPACTION
isolate_freepages_block() and isolate_migratepages_range() are used for
CMA as well as compaction so it breaks build for CONFIG_CMA &&
!CONFIG_COMPACTION.
This patch fixes it.
[akpm@linux-foundation.org: add "do { } while (0)", per Mel]
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions