All of lore.kernel.org
 help / color / mirror / Atom feed
* - sparc64-remove-unused-calc_npages-in-iommu_commonh.patch removed from -mm tree
@ 2008-03-31 20:19 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-03-31 20:19 UTC (permalink / raw)
  To: fujita.tomonori, davem, mm-commits


The patch titled
     sparc64: remove unused calc_npages() in iommu_common.h
has been removed from the -mm tree.  Its filename was
     sparc64-remove-unused-calc_npages-in-iommu_commonh.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: sparc64: remove unused calc_npages() in iommu_common.h
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/sparc64/kernel/iommu_common.h |   13 -------------
 1 file changed, 13 deletions(-)

diff -puN arch/sparc64/kernel/iommu_common.h~sparc64-remove-unused-calc_npages-in-iommu_commonh arch/sparc64/kernel/iommu_common.h
--- a/arch/sparc64/kernel/iommu_common.h~sparc64-remove-unused-calc_npages-in-iommu_commonh
+++ a/arch/sparc64/kernel/iommu_common.h
@@ -46,19 +46,6 @@ static inline unsigned long iommu_num_pa
 	return npages;
 }
 
-static inline unsigned long calc_npages(struct scatterlist *sglist, int nelems)
-{
-	unsigned long i, npages = 0;
-	struct scatterlist *sg;
-
-	for_each_sg(sglist, sg, nelems, i) {
-		unsigned long paddr = SG_ENT_PHYS_ADDRESS(sg);
-		npages += iommu_num_pages(paddr, sg->length);
-	}
-
-	return npages;
-}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-31 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 20:19 - sparc64-remove-unused-calc_npages-in-iommu_commonh.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.