aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/fault-armv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/fault-armv.c')
-rw-r--r--arch/arm/mm/fault-armv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/fault-armv.c b/arch/arm/mm/fault-armv.c
index 8440d952ba6d..c493d7244d3d 100644
--- a/arch/arm/mm/fault-armv.c
+++ b/arch/arm/mm/fault-armv.c
@@ -89,13 +89,13 @@ static int adjust_pte(struct vm_area_struct *vma, unsigned long address,
89 * open-code the spin-locking. 89 * open-code the spin-locking.
90 */ 90 */
91 ptl = pte_lockptr(vma->vm_mm, pmd); 91 ptl = pte_lockptr(vma->vm_mm, pmd);
92 pte = pte_offset_map_nested(pmd, address); 92 pte = pte_offset_map(pmd, address);
93 spin_lock(ptl); 93 spin_lock(ptl);
94 94
95 ret = do_adjust_pte(vma, address, pfn, pte); 95 ret = do_adjust_pte(vma, address, pfn, pte);
96 96
97 spin_unlock(ptl); 97 spin_unlock(ptl);
98 pte_unmap_nested(pte); 98 pte_unmap(pte);
99 99
100 return ret; 100 return ret;
101} 101}