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

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

Post by a.othien » Sun, 25 Apr 2004 04:20:22


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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

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

Post by Tom Rin » Sun, 25 Apr 2004 09:00:12

[ Playing catchup ]




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

--
Tom Rini
http://www.yqcomputer.com/ ~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/