aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-01-20 14:52:23 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2010-03-07 18:01:11 +0100
commit4abc14a733f9002c05623db755aaafdd27fa7a91 (patch)
tree0fd549edf79ba6df91ab6c601521270b937aaebb /arch/x86/kernel/amd_iommu.c
parentd2be1651b736002e0c76d7095d6c0ba77b4a897c (diff)
downloadkernel_samsung_crespo-4abc14a733f9002c05623db755aaafdd27fa7a91.tar.gz
kernel_samsung_crespo-4abc14a733f9002c05623db755aaafdd27fa7a91.tar.bz2
kernel_samsung_crespo-4abc14a733f9002c05623db755aaafdd27fa7a91.zip
iommu-api: Rename ->{un}map function pointers to ->{un}map_range
The new function pointer names match better with the top-level functions of the iommu-api which are using them. Main intention of this change is to make the ->{un}map pointer names free for two new mapping functions. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r--arch/x86/kernel/amd_iommu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index adb0ba02570..59cae7c4df5 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -2515,8 +2515,8 @@ static struct iommu_ops amd_iommu_ops = {
.domain_destroy = amd_iommu_domain_destroy,
.attach_dev = amd_iommu_attach_device,
.detach_dev = amd_iommu_detach_device,
- .map = amd_iommu_map_range,
- .unmap = amd_iommu_unmap_range,
+ .map_range = amd_iommu_map_range,
+ .unmap_range = amd_iommu_unmap_range,
.iova_to_phys = amd_iommu_iova_to_phys,
.domain_has_cap = amd_iommu_domain_has_cap,
};