git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sunvnet: allow admin to set sunvnet MTU
[pandora-kernel.git]
/
arch
/
sparc
/
kernel
/
ldc.c
diff --git
a/arch/sparc/kernel/ldc.c
b/arch/sparc/kernel/ldc.c
index
66dacd5
..
0af28b9
100644
(file)
--- a/
arch/sparc/kernel/ldc.c
+++ b/
arch/sparc/kernel/ldc.c
@@
-2159,7
+2159,7
@@
int ldc_map_single(struct ldc_channel *lp,
state.pte_idx = (base - iommu->page_table);
state.nc = 0;
fill_cookies(&state, (pa & PAGE_MASK), (pa & ~PAGE_MASK), len);
- BUG_ON(state.nc
!= 1
);
+ BUG_ON(state.nc
> ncookies
);
return state.nc;
}