x86, AMD IOMMU: add generic dma_ops mapping functions
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 26 Jun 2008 19:28:00 +0000 (21:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 08:12:18 +0000 (10:12 +0200)
commitcb76c3229725c6dcae31da65e9ca57f434628c05
tree5471ef8a2711af4aea46f967ad9cbf6643f0a0a4
parentb20ac0d4d6cff969d7074bbf02a1b86058df0804
x86, AMD IOMMU: add generic dma_ops mapping functions

This patch adds the generic functions to map and unmap pages to a protection
domain for dma_ops usage.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: Sebastian.Biemueller@amd.com
Cc: robert.richter@amd.com
Cc: joro@8bytes.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c