diff options
author | Matan Barak <matanb@mellanox.com> | 2017-07-25 17:29:06 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-14 11:16:53 -0400 |
commit | 3e5f0881f17525e3b49835947a5e0cf2d681b1e2 (patch) | |
tree | 874ee8487cb5a86c581dd8402f9d44566617a1cd /drivers/infiniband/hw/hfi1/chip.c | |
parent | 8ccf098104dcc6fb9036d760f79016d5227a4437 (diff) | |
download | lwn-3e5f0881f17525e3b49835947a5e0cf2d681b1e2.tar.gz lwn-3e5f0881f17525e3b49835947a5e0cf2d681b1e2.zip |
IB/hns: Avoid compile test under non 64bit environments
The hns driver uses __raw_writeq which is only defined in 64BIT
environments. Trying to compile the driver in a 32BIT environment
results in errors. Only COMPILE_TEST when 64BIT is defined.
Fixes: 7d1b6a678e0b ("IB/hns: Support compile test for hns RoCE driver")
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/chip.c')
0 files changed, 0 insertions, 0 deletions