aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2011-05-10 12:36:01 -0700
committerRoland Dreier <roland@purestorage.com>2011-05-25 13:46:23 -0700
commit9a7147b506ccae8552b0cf218b3c02982012eb4d (patch)
treeb5045b85c90790fbb74671d0e0e2caf6bfa2733e
parent550e5ca77e96989c5e19f60e017205b2bcc615a5 (diff)
RDMA: Update exported headers list
Various RDMA headers are intended to be exported to userspace, so add them to the headers-y list. Add a (strictly speaking, superfluous) include of <linux/types.h> to avoid a headers_check warning. Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--include/rdma/Kbuild5
-rw-r--r--include/rdma/ib_user_cm.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/rdma/Kbuild b/include/rdma/Kbuild
index e7c04321655..ea56f76c0c2 100644
--- a/include/rdma/Kbuild
+++ b/include/rdma/Kbuild
@@ -1 +1,6 @@
+header-y += ib_user_cm.h
header-y += ib_user_mad.h
+header-y += ib_user_sa.h
+header-y += ib_user_verbs.h
+header-y += rdma_netlink.h
+header-y += rdma_user_cm.h
diff --git a/include/rdma/ib_user_cm.h b/include/rdma/ib_user_cm.h
index bd3d380781e..f79014aa28f 100644
--- a/include/rdma/ib_user_cm.h
+++ b/include/rdma/ib_user_cm.h
@@ -34,6 +34,7 @@
#ifndef IB_USER_CM_H
#define IB_USER_CM_H
+#include <linux/types.h>
#include <rdma/ib_user_sa.h>
#define IB_USER_CM_ABI_VERSION 5