Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33113
b: refs/heads/master
c: bf74c74
h: refs/heads/master
i:
  33111: ae3d0e5
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Aug 3, 2006
1 parent be32ad5 commit eba507d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 3f2792ffbd88dc1cd41d226674cc428914981e98
refs/heads/master: bf74c7479ef47652005a2418eeb0d867451690da
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/mthca/mthca_allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ void mthca_array_clear(struct mthca_array *array, int index)
if (--array->page_list[p].used == 0) {
free_page((unsigned long) array->page_list[p].page);
array->page_list[p].page = NULL;
}
} else
array->page_list[p].page[index & (PAGE_SIZE /
sizeof (void *) - 1)] = NULL;

if (array->page_list[p].used < 0)
pr_debug("Array %p index %d page %d with ref count %d < 0\n",
Expand Down

0 comments on commit eba507d

Please sign in to comment.