|
@@ -193,9 +193,7 @@ void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep,
|
|
*/
|
|
*/
|
|
VM_WARN_ON(pte_present(*ptep) && !pte_protnone(*ptep));
|
|
VM_WARN_ON(pte_present(*ptep) && !pte_protnone(*ptep));
|
|
|
|
|
|
- /*
|
|
|
|
- * Add the pte bit when tryint set a pte
|
|
|
|
- */
|
|
|
|
|
|
+ /* Add the pte bit when trying to set a pte */
|
|
pte = __pte(pte_val(pte) | _PAGE_PTE);
|
|
pte = __pte(pte_val(pte) | _PAGE_PTE);
|
|
|
|
|
|
/* Note: mm->context.id might not yet have been assigned as
|
|
/* Note: mm->context.id might not yet have been assigned as
|