]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: fix build regression
authorDoug Ledford <dledford@redhat.com>
Fri, 28 Jul 2017 19:17:18 +0000 (15:17 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Jul 2017 19:17:18 +0000 (15:17 -0400)
commite9796fbeab10336e7f63020b52f19fcc5bc2cf9e
tree1d1e0301de74ff28c691f3e293a854643277687b
parentcf217c0f7921bd1eae24d9631fc4f7963a48a5e2
RDMA/hns: fix build regression

The 0day build system flags implicit includes as errors.  A patch from
Matan Barak to allow hns_roce, an aarch64 specific RDMA driver, to be
built on other arches, but it resulted in build regressions.  The
problem is that hns_roce_device.h needs a definition for __raw_writeq
but did not have an include to provide it.  Add <linux/io.h> as an
include to resolve the issue.

Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_device.h