diff options
| author | Michael Ellerman <[email protected]> | 2017-02-14 02:11:38 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-02-14 05:54:21 +0000 |
| commit | aad71e3928bec48639a70facd21814ea28d27dcb (patch) | |
| tree | 0c035281fa281f2a773998193bdc816ca7cab566 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | powerpc/pseries: Fix typo in parameter description (diff) | |
| download | kernel-aad71e3928bec48639a70facd21814ea28d27dcb.tar.gz kernel-aad71e3928bec48639a70facd21814ea28d27dcb.zip | |
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 <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
