]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hns: Avoid compile test under non 64bit environments
authorMatan Barak <matanb@mellanox.com>
Tue, 25 Jul 2017 14:29:06 +0000 (17:29 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 14 Aug 2017 15:16:53 +0000 (11:16 -0400)
commit702582165e418c9a20ed8f256055e6826ca49980
tree874ee8487cb5a86c581dd8402f9d44566617a1cd
parent90b9e00f5e82c0132d5b5a0e5ed63e48d51d7619
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>
drivers/infiniband/hw/hns/Kconfig