diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-31 12:41:34 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-31 12:41:34 +0200 |
commit | 4b336b0625fe822cdc21646cc3bc3abacf05a3d0 (patch) | |
tree | fc55023a26b76d8d2cc61803dc09323e020abf4e /lib | |
parent | xen: compile irq functions without -pg for ftrace (diff) | |
parent | generic, x86: fix add iommu_num_pages helper function (diff) | |
download | linux-4b336b0625fe822cdc21646cc3bc3abacf05a3d0.tar.xz linux-4b336b0625fe822cdc21646cc3bc3abacf05a3d0.zip |
Merge branch 'x86/urgent' into x86/xen
Diffstat (limited to 'lib')
-rw-r--r-- | lib/iommu-helper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/iommu-helper.c b/lib/iommu-helper.c index 889ddce2021e..a3b8d4c3f77a 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); |