Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfe5688c authored by Michael Ellerman's avatar Michael Ellerman Committed by android-build-merger
Browse files

powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y

am: 7885195b

Change-Id: If18525e5d63c85ccfe1e56b505cde58a14f77c1e
parents 9def7fa9 7885195b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ long mm_iommu_get(struct mm_struct *mm, unsigned long ua, unsigned long entries,
		 * of the CMA zone if possible. NOTE: faulting in + migration
		 * can be expensive. Batching can be considered later
		 */
		if (get_pageblock_migratetype(page) == MIGRATE_CMA) {
		if (is_migrate_cma_page(page)) {
			if (mm_iommu_move_page_from_cma(page))
				goto populate;
			if (1 != get_user_pages_fast(ua + (i << PAGE_SHIFT),