Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160
b: refs/heads/master
c: de0d964
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and Linus Torvalds committed Apr 16, 2005
1 parent 011d379 commit c0e4c18
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: dfe7cc7e816224b002f6887b2a82cba677f27344
refs/heads/master: de0d9641c4f164009b62ecc342f9776d44e78b6a
5 changes: 2 additions & 3 deletions trunk/drivers/infiniband/core/fmr_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ struct ib_fmr_pool {

static inline u32 ib_fmr_hash(u64 first_page)
{
return jhash_2words((u32) first_page,
(u32) (first_page >> 32),
0);
return jhash_2words((u32) first_page, (u32) (first_page >> 32), 0) &
(IB_FMR_HASH_SIZE - 1);
}

/* Caller must hold pool_lock */
Expand Down

0 comments on commit c0e4c18

Please sign in to comment.