patch-2.4.21 linux-2.4.21/arch/sparc/mm/iommu.c

Next file: linux-2.4.21/arch/sparc/mm/srmmu.c
Previous file: linux-2.4.21/arch/sparc/mm/fault.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/sparc/mm/iommu.c linux-2.4.21/arch/sparc/mm/iommu.c
@@ -188,7 +188,7 @@
 {
 	unsigned long page, oldpage = 0;
 
-	while(sz >= 0) {
+	while(sz != 0) {
 		sz--;
 		page = ((unsigned long) sg[sz].address) & PAGE_MASK;
 		if (oldpage == page)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)