projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc/mm: remove pmd_huge/pud_huge stubs and include hugetlb.h
[platform/kernel/linux-rpi.git]
/
arch
/
powerpc
/
include
/
asm
/
book3s
/
64
/
pgtable-64k.h
diff --git
a/arch/powerpc/include/asm/book3s/64/pgtable-64k.h
b/arch/powerpc/include/asm/book3s/64/pgtable-64k.h
index
e3d4dd4
..
34d1018
100644
(file)
--- a/
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
+++ b/
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
@@
-59,9
+59,6
@@
static inline int get_hugepd_cache_index(int index)
BUG();
}
BUG();
}
-#else /* !CONFIG_HUGETLB_PAGE */
-static inline int pmd_huge(pmd_t pmd) { return 0; }
-static inline int pud_huge(pud_t pud) { return 0; }
#endif /* CONFIG_HUGETLB_PAGE */
static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,
#endif /* CONFIG_HUGETLB_PAGE */
static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,