IB/hns: Support compile test for hns RoCE driver
authorMatan Barak <matanb@mellanox.com>
Thu, 8 Jun 2017 14:23:50 +0000 (17:23 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Jul 2017 18:48:26 +0000 (14:48 -0400)
commite89bf462b6bece63a60723af88c76dce9dbe6b85
treec2c0debd430d08e3b7f8a786b1275fd340a00c13
parent3c7f67d1880db4bda8eed12ca603c92b5434390e
IB/hns: Support compile test for hns RoCE driver

Compiling the hns RoCE driver requires ARM architecture.
In order to simplify development of IB/core, support
compile test. Add the necessary includes for that too.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/Kconfig
drivers/infiniband/hw/hns/hns_roce_alloc.c
drivers/infiniband/hw/hns/hns_roce_mr.c