summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/user_sdma.c
diff options
context:
space:
mode:
authorHarish Chegondi2017-08-22 03:27:23 +0200
committerDoug Ledford2017-08-29 01:12:22 +0200
commit637f4600a8d3be44146ad7fbb5188484c3b0a1d4 (patch)
tree02bea543b80f7737ab0fdb0a8e12e9d03bd968af /drivers/infiniband/hw/hfi1/user_sdma.c
parentIB/hfi1: Remove duplicate definitions of num_user_pages() function (diff)
downloadkernel-qcow2-linux-637f4600a8d3be44146ad7fbb5188484c3b0a1d4.tar.gz
kernel-qcow2-linux-637f4600a8d3be44146ad7fbb5188484c3b0a1d4.tar.xz
kernel-qcow2-linux-637f4600a8d3be44146ad7fbb5188484c3b0a1d4.zip
IB/hfi1: Move structure definitions from user_exp_rcv.c to user_exp_rcv.h
Clean up user_exp_rcv.c file by moving structure definitions into header file user_exp_rcv.h. Since these structure definitions depend on the structure definitions in mmu_rb.h, move #include "mmu_rb.h" above the include "user_exp_rcv.h" or include of header files that include user_exp_rcv.h Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/user_sdma.c')
-rw-r--r--drivers/infiniband/hw/hfi1/user_sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/user_sdma.c b/drivers/infiniband/hw/hfi1/user_sdma.c
index 2837407d4daa..8a1653ab2f65 100644
--- a/drivers/infiniband/hw/hfi1/user_sdma.c
+++ b/drivers/infiniband/hw/hfi1/user_sdma.c
@@ -64,11 +64,11 @@
#include "hfi.h"
#include "sdma.h"
+#include "mmu_rb.h"
#include "user_sdma.h"
#include "verbs.h" /* for the headers */
#include "common.h" /* for struct hfi1_tid_info */
#include "trace.h"
-#include "mmu_rb.h"
static uint hfi1_sdma_comp_ring_size = 128;
module_param_named(sdma_comp_size, hfi1_sdma_comp_ring_size, uint, S_IRUGO);