Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189060
b: refs/heads/master
c: 7561e8c
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Mar 25, 2010
1 parent 05838cd commit 0ea48e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39f1cd635cbe8a42c3c74fa6bf9f61c1156bd27b
refs/heads/master: 7561e8ca0dfaf6fca3feef982830de3b65300e5b
4 changes: 2 additions & 2 deletions trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
(VM_MAYREAD | VM_MAYWRITE) : (VM_READ | VM_WRITE);

for (i = 0; i < nr_pages; i++) {
vma = find_extend_vma(mm, start);
vma = find_vma(mm, start);
if (!vma)
goto finish_or_fault;

Expand Down Expand Up @@ -764,7 +764,7 @@ EXPORT_SYMBOL(find_vma);
*/
struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr)
{
return find_vma(mm, addr & PAGE_MASK);
return find_vma(mm, addr);
}

/*
Expand Down

0 comments on commit 0ea48e3

Please sign in to comment.