Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88050
b: refs/heads/master
c: c819914
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and David S. Miller committed Mar 28, 2008
1 parent bc1e6d2 commit 2ae1f86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f08802572965873af97e74337d5740bfa2542941
refs/heads/master: c819914e0d5cc85cccf5fe7542fcb9586286bc28
13 changes: 0 additions & 13 deletions trunk/arch/sparc64/kernel/iommu_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ static inline unsigned long iommu_num_pages(unsigned long vaddr,
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;
}

static inline int is_span_boundary(unsigned long entry,
unsigned long shift,
unsigned long boundary_size,
Expand Down

0 comments on commit 2ae1f86

Please sign in to comment.