Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24850
b: refs/heads/master
c: d669218
h: refs/heads/master
v: v3
  • Loading branch information
Chen, Kenneth W authored and Linus Torvalds committed Mar 31, 2006
1 parent bb89a0f commit de92287
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 93fac7041f082297b93655a0e49f659cd7520e40
refs/heads/master: d6692183ac1d8f4a4e4015f9ce9acc2514618e0b
5 changes: 3 additions & 2 deletions trunk/mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,10 @@ int follow_hugetlb_page(struct mm_struct *mm, struct vm_area_struct *vma,
pfn_offset = (vaddr & ~HPAGE_MASK) >> PAGE_SHIFT;
page = pte_page(*pte);
same_page:
get_page(page);
if (pages)
if (pages) {
get_page(page);
pages[i] = page + pfn_offset;
}

if (vmas)
vmas[i] = vma;
Expand Down

0 comments on commit de92287

Please sign in to comment.