summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-08-03 20:44:22 +0400
committerRoland Dreier <rolandd@cisco.com>2006-08-03 20:44:22 +0400
commit69e9fbb460fa8766428960439841ffcf565032c1 (patch)
tree95d3e8f4947a438b9b7513d56b1ea622bcbe095d /drivers/infiniband/core
parentbf74c7479ef47652005a2418eeb0d867451690da (diff)
downloadlinux-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