projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: Update generic gup implementation to handle hugepage directory
[cascardo/linux.git]
/
arch
/
powerpc
/
include
/
asm
/
page.h
diff --git
a/arch/powerpc/include/asm/page.h
b/arch/powerpc/include/asm/page.h
index
26fe1ae
..
f973fce
100644
(file)
--- a/
arch/powerpc/include/asm/page.h
+++ b/
arch/powerpc/include/asm/page.h
@@
-380,6
+380,7
@@
static inline int hugepd_ok(hugepd_t hpd)
#endif
#define is_hugepd(pdep) (hugepd_ok(*((hugepd_t *)(pdep))))
+#define pgd_huge pgd_huge
int pgd_huge(pgd_t pgd);
#else /* CONFIG_HUGETLB_PAGE */
#define is_hugepd(pdep) 0