提交 ecd840ff 编写于 作者: D Doug Ledford

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: NDoug Ledford <dledford@redhat.com>
上级 d1d71499
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#ifndef _HNS_ROCE_DEVICE_H #ifndef _HNS_ROCE_DEVICE_H
#define _HNS_ROCE_DEVICE_H #define _HNS_ROCE_DEVICE_H
#include <linux/io.h>
#include <rdma/ib_verbs.h> #include <rdma/ib_verbs.h>
#define DRV_NAME "hns_roce" #define DRV_NAME "hns_roce"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册