Skip to content
Commit 69e9fbb4 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent bf74c747
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment