X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fiommu-helper.c;h=a3b8d4c3f77a5e7e466bd8f5e5591f3dcaa2c3bd;hb=9ea319b61613085f501a79cf8d405cb221d084f3;hp=889ddce2021e26870b0b287ad0d28e7032e99028;hpb=39675e89fb472c1b9c8e740e00acb1df2bbc6be7;p=linux-2.6 diff --git a/lib/iommu-helper.c b/lib/iommu-helper.c index 889ddce202..a3b8d4c3f7 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);