diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-04-29 03:59:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:05 -0400 |
commit | a8522509200b460443a7ca59138dc63bec1b690a (patch) | |
tree | d3da544c245a40740018080e9e451fc9096aedb3 /arch/ia64 | |
parent | a7133a15587b8921af8b074e0d3fe1606cbe5597 (diff) |
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>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 3aa6c821449a..07f5d353b54a 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -47,6 +47,9 @@ config MMU | |||
47 | config SWIOTLB | 47 | config SWIOTLB |
48 | bool | 48 | bool |
49 | 49 | ||
50 | config IOMMU_HELPER | ||
51 | bool | ||
52 | |||
50 | config GENERIC_LOCKBREAK | 53 | config GENERIC_LOCKBREAK |
51 | bool | 54 | bool |
52 | default y | 55 | default y |
@@ -615,7 +618,7 @@ config IRQ_PER_CPU | |||
615 | default y | 618 | default y |
616 | 619 | ||
617 | config IOMMU_HELPER | 620 | config IOMMU_HELPER |
618 | def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC) | 621 | def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB) |
619 | 622 | ||
620 | source "arch/ia64/hp/sim/Kconfig" | 623 | source "arch/ia64/hp/sim/Kconfig" |
621 | 624 | ||