aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-31 12:41:34 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-31 12:41:34 +0200
commit4b336b0625fe822cdc21646cc3bc3abacf05a3d0 (patch)
treefc55023a26b76d8d2cc61803dc09323e020abf4e /lib
parent0d1edf46ba229b46efacf75c0544b88c05a7b266 (diff)
parent8978b74253280d59e97cf49a3ec2c0cbccd5b801 (diff)
Merge branch 'x86/urgent' into x86/xen
Diffstat (limited to 'lib')
-rw-r--r--lib/iommu-helper.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/iommu-helper.c b/lib/iommu-helper.c
index 889ddce2021..a3b8d4c3f77 100644
--- a/lib/iommu-helper.c
+++ b/lib/iommu-helper.c
@@ -80,11 +80,3 @@ void iommu_area_free(unsigned long *map, unsigned long start, unsigned int nr)
}
}
EXPORT_SYMBOL(iommu_area_free);
-
-unsigned long iommu_num_pages(unsigned long addr, unsigned long len)
-{
- unsigned long size = roundup((addr & ~PAGE_MASK) + len, PAGE_SIZE);
-
- return size >> PAGE_SHIFT;
-}
-EXPORT_SYMBOL(iommu_num_pages);