Re: [PATCH]: CXGB3 infiniband build fix

From: Steve Wise
Date: Mon Mar 05 2007 - 18:27:25 EST



Acked-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>


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@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/