diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-14 13:11:38 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-14 16:54:21 +1100 |
commit | aad71e3928bec48639a70facd21814ea28d27dcb (patch) | |
tree | 0c035281fa281f2a773998193bdc816ca7cab566 /arch/powerpc/mm/mmu_context_iommu.c | |
parent | b0b5a76579ea62a9eeb720e71fdaa9d37e80f8fd (diff) | |
download | linux-aad71e3928bec48639a70facd21814ea28d27dcb.tar.gz linux-aad71e3928bec48639a70facd21814ea28d27dcb.tar.xz |
powerpc/mm: Fix build break with RADIX=y & HUGETLBFS=n
If we enable RADIX but disable HUGETLBFS, the build breaks with:
arch/powerpc/mm/pgtable-radix.c:557:7: error: implicit declaration of function 'pmd_huge'
arch/powerpc/mm/pgtable-radix.c:588:7: error: implicit declaration of function 'pud_huge'
Fix it by stubbing those functions when HUGETLBFS=n.
Fixes: 4b5d62ca17a1 ("powerpc/mm: add radix__remove_section_mapping()")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/mmu_context_iommu.c')
0 files changed, 0 insertions, 0 deletions