|
@@ -95,7 +95,7 @@ static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp,
|
|
|
break;
|
|
|
else {
|
|
|
#ifdef CONFIG_PPC_BOOK3S_64
|
|
|
- *hpdp = __hugepd(__pa(new) |
|
|
|
+ *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS |
|
|
|
(shift_to_mmu_psize(pshift) << 2));
|
|
|
#elif defined(CONFIG_PPC_8xx)
|
|
|
*hpdp = __hugepd(__pa(new) | _PMD_USER |
|