Re: [PATCH 2.6] include/asm-ppc/dma-mapping.h: dma_unmap_page()

From: Tom Rini
Date: Fri Apr 23 2004 - 18:52:28 EST


[ Playing catchup ]

On Fri, Apr 23, 2004 at 09:14:29PM +0200, Arthur Othieno wrote:

> Hi,
>
> Duplicate definition of dma_unmap_single() should actually be
> dma_unmap_page().
>
> Against 2.6.6-rc2. Thanks.
>
>
> dma-mapping.h | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>
> --- a/include/asm-ppc/dma-mapping.h 2004-04-11 14:05:45.000000000 +0200
> +++ b/include/asm-ppc/dma-mapping.h 2004-04-22 18:06:53.000000000 +0200
> @@ -77,7 +77,7 @@ dma_map_page(struct device *dev, struct
> }
>
> /* We do nothing. */
> -#define dma_unmap_single(dev, addr, size, dir) do { } while (0)
> +#define dma_unmap_page(dev, addr, size, dir) do { } while (0)
>
> static inline int
> dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,

If this hasn't made it in already, it would appear to be correct and
should go in.

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/