diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 6e0f58b8d74f..6b8322225a10 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -664,7 +664,7 @@ static int fuse_readpages_fill(void *_data, struct page *page) } } -#ifdef CONFIG_DMA_CMA +#ifdef CONFIG_CMA if (is_cma_pageblock(page)) { struct page *oldpage = page, *newpage; int err; diff --git a/mm/memory.c b/mm/memory.c index b2baf3614704..a240b04d0848 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2900,7 +2900,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma, entry = pte_to_swp_entry(orig_pte); if (unlikely(non_swap_entry(entry))) { if (is_migration_entry(entry)) { -#ifdef CONFIG_DMA_CMA +#ifdef CONFIG_CMA /* * FIXME: mszyprow: cruel, brute-force method for * letting cma/migration to finish it's job without