]> err.no Git - linux-2.6/commitdiff
[PATCH] alpha: dma_map_page() fix
authorAndrew Morton <akpm@osdl.org>
Fri, 6 Jan 2006 08:09:50 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:21 +0000 (08:33 -0800)
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-alpha/dma-mapping.h

index 680f7ecbb28f7df56d7e85a2089f45d454a4f751..9dc7256cf9798a39eeb0dbf11202c8c987a80bcb 100644 (file)
@@ -16,7 +16,7 @@
 #define dma_free_coherent(dev, size, va, addr)         \
                pci_free_consistent(alpha_gendev_to_pci(dev), size, va, addr)
 #define dma_map_page(dev, page, off, size, dir)                \
-               pci_map_single(alpha_gendev_to_pci(dev), page, off, size, dir)
+               pci_map_page(alpha_gendev_to_pci(dev), page, off, size, dir)
 #define dma_unmap_page(dev, addr, size, dir)           \
                pci_unmap_page(alpha_gendev_to_pci(dev), addr, size, dir)
 #define dma_map_sg(dev, sg, nents, dir)                        \