Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291986
b: refs/heads/master
c: bd50f89
h: refs/heads/master
v: v3
  • Loading branch information
Kyle McMartin authored and Roland Dreier committed Mar 5, 2012
1 parent e00d741 commit d2ca744
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6aeaa48b0dd3a4261804be1cccaea46d82be3fcb
refs/heads/master: bd50f8924c684f84416fb58c11eb24619b041f25
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/ehca/ehca_mrmw.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static u32 ehca_encode_hwpage_size(u32 pgsize)

static u64 ehca_get_max_hwpage_size(struct ehca_shca *shca)
{
return 1UL << ilog2(shca->hca_cap_mr_pgsize);
return rounddown_pow_of_two(shca->hca_cap_mr_pgsize);
}

static struct ehca_mr *ehca_mr_new(void)
Expand Down

0 comments on commit d2ca744

Please sign in to comment.