提交 c3bb1092 编写于 作者: D David Miller 提交者: Roland Dreier

RDMA/cxgb3: Fix build on sparc64

cxgb3 uses dma_alloc_coherent() et al. thus needs linux/dma-mapping.h
include in order to build reliably.

Noticed on sparc64.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Acked-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 cb164b8c
......@@ -36,6 +36,7 @@
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include "cxio_resource.h"
#include "cxio_hal.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册