projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f4b08
)
powerpc/mm: Fix typo in set_pte_at()
author
Gavin Shan
<
[email protected]
>
Wed, 8 Feb 2017 03:16:50 +0000
(14:16 +1100)
committer
Michael Ellerman
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Balbir Singh <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/mm/pgtable.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/pgtable.c
b/arch/powerpc/mm/pgtable.c
index cb39c8bd243656727f60b8975c9344766d8d79a9..a03ff3d99e0c420e87cf0f81cb64f43ba78f1998 100644
(file)
--- a/
arch/powerpc/mm/pgtable.c
+++ b/
arch/powerpc/mm/pgtable.c
@@
-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