diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2017-03-27 08:20:14 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-10 11:18:39 -0400 |
| commit | ea6819e1f2d6c30624ea067f4b3a50a3cca79d8a (patch) | |
| tree | 5e359b4811eea0330d4ab029dced5ea36c9767bf /include/rdma | |
| parent | 3a4e7f56ca6cd66e69a159073584434b2e639c71 (diff) | |
smc_diag.h: fix include from userland
This patch prepares the uapi export by fixing the following error:
.../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory
#include <rdma/ib_verbs.h>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/rdma')
| -rw-r--r-- | include/rdma/ib_verbs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index f0cb4906478a..ba8314ec5768 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
| @@ -62,6 +62,7 @@ | |||
| 62 | #include <linux/mmu_notifier.h> | 62 | #include <linux/mmu_notifier.h> |
| 63 | #include <linux/uaccess.h> | 63 | #include <linux/uaccess.h> |
| 64 | #include <linux/cgroup_rdma.h> | 64 | #include <linux/cgroup_rdma.h> |
| 65 | #include <uapi/rdma/ib_user_verbs.h> | ||
| 65 | 66 | ||
| 66 | extern struct workqueue_struct *ib_wq; | 67 | extern struct workqueue_struct *ib_wq; |
| 67 | extern struct workqueue_struct *ib_comp_wq; | 68 | extern struct workqueue_struct *ib_comp_wq; |
| @@ -1889,8 +1890,6 @@ enum ib_mad_result { | |||
| 1889 | IB_MAD_RESULT_CONSUMED = 1 << 2 /* Packet consumed: stop processing */ | 1890 | IB_MAD_RESULT_CONSUMED = 1 << 2 /* Packet consumed: stop processing */ |
| 1890 | }; | 1891 | }; |
| 1891 | 1892 | ||
| 1892 | #define IB_DEVICE_NAME_MAX 64 | ||
| 1893 | |||
| 1894 | struct ib_port_cache { | 1893 | struct ib_port_cache { |
| 1895 | struct ib_pkey_cache *pkey; | 1894 | struct ib_pkey_cache *pkey; |
| 1896 | struct ib_gid_table *gid; | 1895 | struct ib_gid_table *gid; |
