[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070305.152129.112853008.davem@davemloft.net>
Date: Mon, 05 Mar 2007 15:21:29 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rolandd@...co.com, swise@...ngridcomputing.com
CC: linux-kernel@...r.kernel.org
Subject: [PATCH]: 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.
Signed-off-by: David S. Miller <davem@...emloft.net>
diff --git a/drivers/infiniband/hw/cxgb3/cxio_hal.c b/drivers/infiniband/hw/cxgb3/cxio_hal.c
index d737c73..818cf1a 100644
--- a/drivers/infiniband/hw/cxgb3/cxio_hal.c
+++ b/drivers/infiniband/hw/cxgb3/cxio_hal.c
@@ -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"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists