projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39334a4
)
[SPARC64]: Kill stray PGLIST_NENTS check in pci_sun4v.c
author
David S. Miller
<
[email protected]
>
Mon, 20 Feb 2006 09:09:01 +0000
(
01:09
-0800)
committer
David S. Miller
<
[email protected]
>
Mon, 20 Mar 2006 09:13:44 +0000
(
01:13
-0800)
I forgot to remove the one in pci_4v_map_sg() during the
iommu batching commit.
Signed-off-by: David S. Miller <
[email protected]
>
arch/sparc64/kernel/pci_sun4v.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/pci_sun4v.c
b/arch/sparc64/kernel/pci_sun4v.c
index 4e9d3c451af253239ea6649daca7a4bb37cb3f97..d9ef0c7580ea3c41b45f146e33ce52d1b3cb01ab 100644
(file)
--- a/
arch/sparc64/kernel/pci_sun4v.c
+++ b/
arch/sparc64/kernel/pci_sun4v.c
@@
-485,8
+485,6
@@
static int pci_4v_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int n
/* Step 1: Prepare scatter list. */
npages = prepare_sg(sglist, nelems);
- if (unlikely(npages > PGLIST_NENTS))
- goto bad;
/* Step 2: Allocate a cluster and context, if necessary. */
spin_lock_irqsave(&iommu->lock, flags);