]> err.no Git - linux-2.6/commitdiff
RDMA/cxgb3: Fix build on sparc64
authorDavid Miller <davem@davemloft.net>
Mon, 5 Mar 2007 23:21:29 +0000 (15:21 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Mar 2007 20:45:57 +0000 (12:45 -0800)
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: David S. Miller <davem@davemloft.net>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c

index d737c738d8767683c21b010d63374e3811f50761..818cf1aee8c7b1e58bdf1dc229e3b6797799bb0e 100644 (file)
@@ -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"