diff options
author | FUJITA Tomonori <tomof@acm.org> | 2008-02-05 01:28:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:11 -0500 |
commit | 1b39b077789955c8389488d53d075518fdcd582e (patch) | |
tree | b633d041bdc32959c118ec9ef77ee17bbd0b5b23 /arch/x86/Kconfig | |
parent | 383af9525bb27f927511874f6306247ec13f1c28 (diff) |
iommu sg: x86: convert calgary IOMMU to use the IOMMU helper
This patch converts calgary IOMMU to use the IOMMU helper
functions. The IOMMU doesn't allocate a memory area spanning LLD's
segment boundary anymore.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Muli Ben-Yehuda <mulix@mulix.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 59eef1c7fda..c976eb41c5c 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -465,6 +465,9 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT | |||
465 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | 465 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. |
466 | If unsure, say Y. | 466 | If unsure, say Y. |
467 | 467 | ||
468 | config IOMMU_HELPER | ||
469 | def_bool CALGARY_IOMMU | ||
470 | |||
468 | # need this always selected by IOMMU for the VIA workaround | 471 | # need this always selected by IOMMU for the VIA workaround |
469 | config SWIOTLB | 472 | config SWIOTLB |
470 | bool | 473 | bool |