PERFORCE change 131721 for review

John Birrell jb at FreeBSD.org
Wed Dec 26 12:02:08 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131721

Change 131721 by jb at jb_freebsd1 on 2007/12/26 20:01:35

	mp_maxid is the maximum ID, not a bound.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#10 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#10 (text) ====

@@ -3382,7 +3382,7 @@
 
 	do {
 #else
-	for (i = 0; i < mp_maxid; i++) {
+	for (i = 0; i <= mp_maxid; i++) {
 		if (pcpu_find(i) == NULL)
 			continue;
 
@@ -3450,7 +3450,7 @@
 
 	do {
 #else
-	for (i = 0; i < mp_maxid; i++) {
+	for (i = 0; i <= mp_maxid; i++) {
 		if (pcpu_find(i) == NULL)
 			continue;
 


More information about the p4-projects mailing list