aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 1c81fc2174cd..6a9c048f6012 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1109,7 +1109,8 @@ int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
1109} 1109}
1110EXPORT_SYMBOL(get_user_pages); 1110EXPORT_SYMBOL(get_user_pages);
1111 1111
1112pte_t * fastcall get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl) 1112pte_t *get_locked_pte(struct mm_struct *mm, unsigned long addr,
1113 spinlock_t **ptl)
1113{ 1114{
1114 pgd_t * pgd = pgd_offset(mm, addr); 1115 pgd_t * pgd = pgd_offset(mm, addr);
1115 pud_t * pud = pud_alloc(mm, pgd, addr); 1116 pud_t * pud = pud_alloc(mm, pgd, addr);