Module Name:    src
Committed By:   ad
Date:           Sun Apr 25 11:49:22 UTC 2010

Modified Files:
        src/sys/kern: subr_spldebug.c

Log Message:
MAXCPUS -> maxcpus


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/subr_spldebug.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_spldebug.c
diff -u src/sys/kern/subr_spldebug.c:1.2 src/sys/kern/subr_spldebug.c:1.3
--- src/sys/kern/subr_spldebug.c:1.2	Tue Nov 24 17:28:32 2009
+++ src/sys/kern/subr_spldebug.c	Sun Apr 25 11:49:22 2010
@@ -1,7 +1,7 @@
-/*	$NetBSD: subr_spldebug.c,v 1.2 2009/11/24 17:28:32 dyoung Exp $	*/
+/*	$NetBSD: subr_spldebug.c,v 1.3 2010/04/25 11:49:22 ad Exp $	*/
 
 /*-
- * Copyright (c) 2009 The NetBSD Foundation, Inc.
+ * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_spldebug.c,v 1.2 2009/11/24 17:28:32 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_spldebug.c,v 1.3 2010/04/25 11:49:22 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/spldebug.h>
@@ -79,7 +79,7 @@
 
 	cidx = cpu_index(curcpu());
 
-	KASSERT(cidx < MAXCPUS);
+	KASSERT(cidx < maxcpus);
 
 	splraise_depth[cidx] = 0;
 	spllowered_to[cidx] = ipl;
@@ -104,7 +104,7 @@
 
 	cidx = cpu_index(curcpu());
 
-	KASSERT(cidx < MAXCPUS);
+	KASSERT(cidx < maxcpus);
 
 	if (splraise_depth[cidx] >= SPLRAISE_STACKLEN)
 		return;

Reply via email to