]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/page_alloc.c
Merge remote-tracking branch 'clockevents/clockevents/next'
[karo-tx-linux.git] / mm / page_alloc.c
index ea2c4d3e0c0354d241a7cd60ae81b2a9f95cdf93..838ca8bb64f7376062fc6670c759a27d7f59c7e3 100644 (file)
@@ -6620,7 +6620,7 @@ bool is_pageblock_removable_nolock(struct page *page)
        return !has_unmovable_pages(zone, page, 0, true);
 }
 
-#ifdef CONFIG_CMA
+#if (defined(CONFIG_MEMORY_ISOLATION) && defined(CONFIG_COMPACTION)) || defined(CONFIG_CMA)
 
 static unsigned long pfn_max_align_down(unsigned long pfn)
 {