diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-08-03 20:44:22 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-08-03 20:44:22 +0400 |
commit | 69e9fbb460fa8766428960439841ffcf565032c1 (patch) | |
tree | 95d3e8f4947a438b9b7513d56b1ea622bcbe095d /drivers/infiniband/core | |
parent | bf74c7479ef47652005a2418eeb0d867451690da (diff) | |
download | linux-69e9fbb460fa8766428960439841ffcf565032c1.tar.xz |
IB/mthca: Clean up mthca array index mask
Define a constant MTHCA_ARRAY_MASK to replace repeated uses of
(PAGE_SIZE / sizeof (void *) - 1) in mthca array code.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions