aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/mm/hugetlbpage.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index 8fa07f3f6c2b..0d12fba31bc5 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -504,9 +504,8 @@ repeat:
504 new_pte = (new_pte & ~_PAGE_HPTEFLAGS) | _PAGE_HASHPTE; 504 new_pte = (new_pte & ~_PAGE_HPTEFLAGS) | _PAGE_HASHPTE;
505#endif 505#endif
506 /* Add in WIMG bits */ 506 /* Add in WIMG bits */
507 /* XXX We should store these in the pte */ 507 rflags |= (new_pte & (_PAGE_WRITETHRU | _PAGE_NO_CACHE |
508 /* --BenH: I think they are ... */ 508 _PAGE_COHERENT | _PAGE_GUARDED));
509 rflags |= _PAGE_COHERENT;
510 509
511 /* Insert into the hash table, primary slot */ 510 /* Insert into the hash table, primary slot */
512 slot = ppc_md.hpte_insert(hpte_group, va, pa, rflags, 0, 511 slot = ppc_md.hpte_insert(hpte_group, va, pa, rflags, 0,