aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@fys.uio.no>2005-11-29 19:27:22 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-29 20:29:57 -0500
commit49c91fb01ff3948285608c65754b3ffbf57d50f2 (patch)
treef229ea6c060fb927080fe668a0f277d0aee3ef8a
parent2f12c74f0cfdc93e1d47ac70766e837ef29472fd (diff)
[PATCH] VM: Fix typos in get_locked_pte
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--mm/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 5bfa52a98630..8d10b5540c73 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1146,12 +1146,12 @@ int zeromap_page_range(struct vm_area_struct *vma,
1146 return err; 1146 return err;
1147} 1147}
1148 1148
1149pte_t *get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl) 1149pte_t * fastcall get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl)
1150{ 1150{
1151 pgd_t * pgd = pgd_offset(mm, addr); 1151 pgd_t * pgd = pgd_offset(mm, addr);
1152 pud_t * pud = pud_alloc(mm, pgd, addr); 1152 pud_t * pud = pud_alloc(mm, pgd, addr);
1153 if (pud) { 1153 if (pud) {
1154 pmd_t * pmd = pmd_alloc(mm, pgd, addr); 1154 pmd_t * pmd = pmd_alloc(mm, pud, addr);
1155 if (pmd) 1155 if (pmd)
1156 return pte_alloc_map_lock(mm, pmd, addr, ptl); 1156 return pte_alloc_map_lock(mm, pmd, addr, ptl);
1157 } 1157 }