Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273222
b: refs/heads/master
c: 8596468
h: refs/heads/master
v: v3
  • Loading branch information
Andrea Arcangeli authored and Linus Torvalds committed Nov 2, 2011
1 parent ccf196e commit b8d8d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 405e44f2e312dd5dd63e5a9f459bffcbcd4368ef
refs/heads/master: 8596468487e2062cae2aad56e973784e03959245
5 changes: 2 additions & 3 deletions trunk/arch/powerpc/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,10 +428,9 @@ static noinline int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long add

if (unlikely(pte_val(pte) != pte_val(*ptep))) {
/* Could be optimized better */
while (*nr) {
*nr -= refs;
while (refs--)
put_page(head);
(*nr)--;
}
}

return 1;
Expand Down

0 comments on commit b8d8d51

Please sign in to comment.