lkml.org 
[lkml]   [2004]   [Apr]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 23 Apr 2004 16:50:28 -0700
FromTom Rini <>
SubjectRe: [PATCH 2.6] include/asm-ppc/dma-mapping.h: dma_unmap_page()
[ 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008