IB/mthca: create_eq with size not a power of 2
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 6 Jan 2006 00:17:38 +0000 (16:17 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 6 Jan 2006 00:17:38 +0000 (16:17 -0800)
commit466200562ccd80f728f7ef602d2b97b4fdedd566
tree7bfbd22c9f888add6ec57852738fcd62530cbeb2
parent38d1e793471d95728219f500bbb8bd25658d73b0
IB/mthca: create_eq with size not a power of 2

Fix mthca_create_eq for when the EQ size is not a power of 2.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_eq.c