diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-01-16 09:24:47 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-16 01:07:01 -0500 |
commit | a56c66e8089ea8474a26af1c7da9b5d7ad3017cb (patch) | |
tree | ea2fedd13523898d3bb9ffb553b70f2a1a126b68 /drivers/infiniband/hw/cxgb4/qp.c | |
parent | 8cd5a56c2b7c27dc574b465401e4f41a5e363e24 (diff) | |
download | lwn-a56c66e8089ea8474a26af1c7da9b5d7ad3017cb.tar.gz lwn-a56c66e8089ea8474a26af1c7da9b5d7ad3017cb.zip |
iw_cxgb4: Cleanup register defines/MACROS defined in t4.h
Cleanup all the MACROS defined in t4.h and the affected files
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/qp.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index bb85d479e66e..42238edc95cb 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c @@ -1776,7 +1776,7 @@ struct ib_qp *c4iw_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *attrs, if (mm5) { mm5->key = uresp.ma_sync_key; mm5->addr = (pci_resource_start(rhp->rdev.lldi.pdev, 0) - + A_PCIE_MA_SYNC) & PAGE_MASK; + + PCIE_MA_SYNC_A) & PAGE_MASK; mm5->len = PAGE_SIZE; insert_mmap(ucontext, mm5); } |