patch-2.4.26 linux-2.4.26/arch/x86_64/mm/k8topology.c

Next file: linux-2.4.26/arch/x86_64/mm/pageattr.c
Previous file: linux-2.4.26/arch/x86_64/mm/fault.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/arch/x86_64/mm/k8topology.c linux-2.4.26/arch/x86_64/mm/k8topology.c
@@ -197,7 +197,7 @@
 			continue;		
 		if ((nodes_present >> rr) == 0) 
 			rr = 0; 
-		rr = ffz(~nodes_present >> rr); 
+		rr += ffz(~nodes_present >> rr); 
 		PLAT_NODE_DATA(i) = PLAT_NODE_DATA(rr); 
 		rr++; 
 	}

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