]> bbs.cooldavid.org Git - net-next-2.6.git/commit
iommu-api: Add ->{un}map callbacks to iommu_ops
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 21 Jan 2010 15:32:27 +0000 (16:32 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sun, 7 Mar 2010 17:01:11 +0000 (18:01 +0100)
commit67651786948c360c3122b8a17cb1e59209d50880
tree533a24ba14a513a99c19af4507dde499aaf1d9c5
parentcefc53c7f494240d4813c80154c7617452d1904d
iommu-api: Add ->{un}map callbacks to iommu_ops

This patch adds new callbacks for mapping and unmapping
pages to the iommu_ops structure. These callbacks are aware
of page sizes which makes them different to the
->{un}map_range callbacks.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/base/iommu.c
include/linux/iommu.h