summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/pci.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <tomof@acm.org>2008-02-05 07:27:58 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:10 +0100
commit7c53664dcd5df7349edb56f04c743bf66510a6f1 (patch)
tree377cd9cced6757f986806d51c6e428f5b1874e49 /include/asm-alpha/pci.h
parentiommu sg merging: IA64: make sba_iommu respect the segment size limits (diff)
downloadlinux-7c53664dcd5df7349edb56f04c743bf66510a6f1.tar.xz
linux-7c53664dcd5df7349edb56f04c743bf66510a6f1.zip
iommu sg merging: alpha: make pci_iommu respect the segment size limits
This patch makes pci_iommu respect segment size limits when merging sg lists. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Jeff Garzik <jeff@garzik.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Acked-by: Jens Axboe <jens.axboe@oracle.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-alpha/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-alpha/pci.h b/include/asm-alpha/pci.h
index 30ee7669b19f..d5b10ef64364 100644
--- a/include/asm-alpha/pci.h
+++ b/include/asm-alpha/pci.h
@@ -4,6 +4,7 @@
#ifdef __KERNEL__
#include <linux/spinlock.h>
+#include <linux/dma-mapping.h>
#include <asm/scatterlist.h>
#include <asm/machvec.h>