mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
[PATCH] alpha: dma_map_page() fix
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>
This commit is contained in:
parent
1f1e030bf7
commit
817c41d76e
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user