diff options
author | Matan Barak <matanb@mellanox.com> | 2017-06-08 16:23:50 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-28 20:48:26 +0200 |
commit | e89bf462b6bece63a60723af88c76dce9dbe6b85 (patch) | |
tree | c2c0debd430d08e3b7f8a786b1275fd340a00c13 /drivers/infiniband/hw/hns/hns_roce_mr.c | |
parent | IB/cma: Fix default RoCE type setting (diff) | |
download | linux-e89bf462b6bece63a60723af88c76dce9dbe6b85.tar.xz linux-e89bf462b6bece63a60723af88c76dce9dbe6b85.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_mr.c')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_mr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_mr.c b/drivers/infiniband/hw/hns/hns_roce_mr.c index 80fc01ffd8bd..e387360e3780 100644 --- a/drivers/infiniband/hw/hns/hns_roce_mr.c +++ b/drivers/infiniband/hw/hns/hns_roce_mr.c @@ -32,6 +32,7 @@ */ #include <linux/platform_device.h> +#include <linux/vmalloc.h> #include <rdma/ib_umem.h> #include "hns_roce_device.h" #include "hns_roce_cmd.h" |