Commit c618f6b1 authored by Gavin Shan's avatar Gavin Shan Committed by Michael Ellerman

powerpc/mm: Fix typo in set_pte_at()

This fixes the typo about the _PAGE_PTE in set_pte_at() by changing
"tryint" to "trying to".
Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: default avatarBalbir Singh <bsingharora@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 49f4b08e
...@@ -193,9 +193,7 @@ void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, ...@@ -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 trying to set a pte */
* Add the pte bit when tryint 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment