public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: CXGB3 infiniband build fix
@ 2007-03-05 23:21 David Miller
  2007-03-05 23:27 ` Steve Wise
  2007-03-06 20:46 ` Roland Dreier
  0 siblings, 2 replies; 3+ messages in thread
From: David Miller @ 2007-03-05 23:21 UTC (permalink / raw)
  To: rolandd, swise; +Cc: linux-kernel


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>

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"

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH]: CXGB3 infiniband build fix
  2007-03-05 23:21 [PATCH]: CXGB3 infiniband build fix David Miller
@ 2007-03-05 23:27 ` Steve Wise
  2007-03-06 20:46 ` Roland Dreier
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Wise @ 2007-03-05 23:27 UTC (permalink / raw)
  To: David Miller; +Cc: rolandd, linux-kernel


Acked-by: Steve Wise <swise@opengridcomputing.com>


On Mon, 2007-03-05 at 15:21 -0800, David Miller wrote:
> 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>
> 
> 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"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH]: CXGB3 infiniband build fix
  2007-03-05 23:21 [PATCH]: CXGB3 infiniband build fix David Miller
  2007-03-05 23:27 ` Steve Wise
@ 2007-03-06 20:46 ` Roland Dreier
  1 sibling, 0 replies; 3+ messages in thread
From: Roland Dreier @ 2007-03-06 20:46 UTC (permalink / raw)
  To: David Miller; +Cc: rolandd, swise, linux-kernel

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-06 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 23:21 [PATCH]: CXGB3 infiniband build fix David Miller
2007-03-05 23:27 ` Steve Wise
2007-03-06 20:46 ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox