aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2017-02-14 02:44:05 +0000
committerMichael Ellerman <[email protected]>2017-02-14 05:54:22 +0000
commita05ef161cdd22faccffe06f21fc8f1e249565385 (patch)
tree104fda3dafb0bffb97745a67c08fed531ea091e9 /scripts/gcc-plugins
parentpowerpc/mm: Fix build break with RADIX=y & HUGETLBFS=n (diff)
downloadkernel-a05ef161cdd22faccffe06f21fc8f1e249565385.tar.gz
kernel-a05ef161cdd22faccffe06f21fc8f1e249565385.zip
powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y
Currently the build breaks if CMA=n and SPAPR_TCE_IOMMU=y: arch/powerpc/mm/mmu_context_iommu.c: In function ‘mm_iommu_get’: arch/powerpc/mm/mmu_context_iommu.c:193:42: error: ‘MIGRATE_CMA’ undeclared (first use in this function) if (get_pageblock_migratetype(page) == MIGRATE_CMA) { ^~~~~~~~~~~ Fix it by using the existing is_migrate_cma_page(), which evaulates to false when CMA=n. Fixes: 2e5bbb5461f1 ("KVM: PPC: Book3S HV: Migrate pinned pages out of CMA") Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions