Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76860
b: refs/heads/master
c: d08ca26
h: refs/heads/master
v: v3
  • Loading branch information
Steve Wise authored and Roland Dreier committed Jan 25, 2008
1 parent 564e33d commit 4cc9694
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 856b5925047d73a85557203d124d62c5eea1fbd3
refs/heads/master: d08ca26ceec4dfbcfdbada4ad728db742ccaecd1
7 changes: 7 additions & 0 deletions trunk/drivers/infiniband/hw/cxgb3/iwch_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ int build_phys_page_list(struct ib_phys_buf *buffer_list,
*total_size += buffer_list[i].size;
if (i > 0)
mask |= buffer_list[i].addr;
else
mask |= buffer_list[i].addr & PAGE_MASK;
if (i != num_phys_buf - 1)
mask |= buffer_list[i].addr + buffer_list[i].size;
else
mask |= (buffer_list[i].addr + buffer_list[i].size +
PAGE_SIZE - 1) & PAGE_MASK;
}

if (*total_size > 0xFFFFFFFFULL)
Expand Down

0 comments on commit 4cc9694

Please sign in to comment.