From: akpm@linux-foundation.org
To: fujita.tomonori@lab.ntt.co.jp, davem@davemloft.net,
mm-commits@vger.kernel.org
Subject: - sparc64-remove-unused-calc_npages-in-iommu_commonh.patch removed from -mm tree
Date: Mon, 31 Mar 2008 13:19:09 -0700 [thread overview]
Message-ID: <200803312019.m2VKJ9ul024183@imap1.linux-foundation.org> (raw)
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;
-}
reply other threads:[~2008-03-31 20:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200803312019.m2VKJ9ul024183@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.