swiotlb: use iommu_is_span_boundary helper function
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 29 Apr 2008 07:59:36 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:05 +0000 (08:06 -0700)
commita8522509200b460443a7ca59138dc63bec1b690a
treed3da544c245a40740018080e9e451fc9096aedb3
parenta7133a15587b8921af8b074e0d3fe1606cbe5597
swiotlb: use iommu_is_span_boundary helper function

iommu_is_span_boundary in lib/iommu-helper.c was exported for PARISC IOMMUs
(commit 3715863aa142c4f4c5208f5f3e5e9bac06006d2f).  SWIOTLB can use it instead
of the homegrown function.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/Kconfig
arch/x86/Kconfig
lib/swiotlb.c