aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/rdma/ib.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-22 17:01:30 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 13:58:47 -0300
commit39289bfc221423b27570e7c9157b690828e786cb (patch)
treea66ee47a2f1a49b7795fed229135d1795ef32043 /include/rdma/ib.h
parentRDMA/qedr: Remove Unneeded variable rc (diff)
downloadwireguard-linux-39289bfc221423b27570e7c9157b690828e786cb.tar.xz
wireguard-linux-39289bfc221423b27570e7c9157b690828e786cb.zip
RDMA: Make most headers compile stand alone
So that rdma can work with CONFIG_KERNEL_HEADER_TEST and CONFIG_HEADERS_CHECK. Link: https://lore.kernel.org/r/20190722170126.GA16453@ziepe.ca Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib.h')
-rw-r--r--include/rdma/ib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/ib.h b/include/rdma/ib.h
index 4f385ec54f80..fe2fc9e91588 100644
--- a/include/rdma/ib.h
+++ b/include/rdma/ib.h
@@ -36,6 +36,8 @@
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/cred.h>
+#include <linux/uaccess.h>
+#include <linux/fs.h>
struct ib_addr {
union {