Skip to contentSkip to conversation

: CXGB3 infiniband build fix

PATCH Applied David Miller 3 participants 3 messages Mar 5, 2007 – Mar 6, 2007 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : CXGB3 infiniband build fix

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

Noticed on sparc64.

drivers/infiniband/hw/cxgb3/cxio_hal.c +1 -0
index d737c73..818cf1a 100644
@@ -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"
Acked-by on v1 1/1
#1 lore raw
Quoted 19 lines · David Miller

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

Noticed on sparc64.

drivers/infiniband/hw/cxgb3/cxio_hal.c +1 -0
index d737c73..818cf1a 100644
@@ -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"