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
-  Lines: 9
-  Date:
2003-06-13 07:51:32.000000000 -0700
-  Orig file: 
linux-2.4.20/arch/sparc/mm/iommu.c
-  Orig date: 
2002-11-28 15:53:12.000000000 -0800
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)