powerpc/mm: Fix typo in set_pte_at()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 8 Feb 2017 03:16:50 +0000 (14:16 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 11:16:25 +0000 (22:16 +1100)
This fixes the typo about the _PAGE_PTE in set_pte_at() by changing
"tryint" to "trying to".

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable.c

index cb39c8bd243656727f60b8975c9344766d8d79a9..a03ff3d99e0c420e87cf0f81cb64f43ba78f1998 100644 (file)
@@ -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));
 
-       /*
-        * 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);
 
        /* Note: mm->context.id might not yet have been assigned as