[IB] mthca: fix off by one in clr_int calculation
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 26 Sep 2005 16:29:33 +0000 (09:29 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 26 Sep 2005 16:38:34 +0000 (09:38 -0700)
commitf7ed3a5971da98acdc506bdbdef25cfe51c334a2
tree1e2cff00ff81b1a20be326d5b58e672846663102
parent018771f435388f22f388eb8658c652086fb3633e
[IB] mthca: fix off by one in clr_int calculation

We should use the first word of the clear interrupt register if
the bit we're after is < 32, not < 31.

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