projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/mm: Add devmap support for ppc64
[linux-2.6-block.git]
/
arch
/
powerpc
/
mm
/
hugetlbpage.c
diff --git
a/arch/powerpc/mm/hugetlbpage.c
b/arch/powerpc/mm/hugetlbpage.c
index 19659081da72d7833f237ef8f2970483df16d485..1ca196c00b2a676385a555e48b1322c8ea4260bb 100644
(file)
--- a/
arch/powerpc/mm/hugetlbpage.c
+++ b/
arch/powerpc/mm/hugetlbpage.c
@@
-964,7
+964,7
@@
pte_t *__find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea,
if (pmd_none(pmd))
return NULL;
- if (pmd_trans_huge(pmd)) {
+ if (pmd_trans_huge(pmd)
|| pmd_devmap(pmd)
) {
if (is_thp)
*is_thp = true;
ret_pte = (pte_t *) pmdp;