aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include/lock.h
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-09-23 12:18:06 +0000
committerPaul Saab <ps@FreeBSD.org>2000-09-23 12:18:06 +0000
commit92b123a0025f64077d2efd31c48bb424bfac3c14 (patch)
treec1801d29ad326058c7c77071f5ba291f60029374 /sys/alpha/include/lock.h
parent5ef724ac4abbc89c263dec6c955d4e0ee5e03a7f (diff)
Notes
Diffstat (limited to 'sys/alpha/include/lock.h')
-rw-r--r--sys/alpha/include/lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/include/lock.h b/sys/alpha/include/lock.h
index 1066d461ff66..f2e3448e2de3 100644
--- a/sys/alpha/include/lock.h
+++ b/sys/alpha/include/lock.h
@@ -55,7 +55,7 @@ s_unlock(struct simplelock *lkp)
lkp->lock_data = 0;
}
-#if !defined(SIMPLELOCK_DEBUG) && NCPUS > 1
+#if !defined(SIMPLELOCK_DEBUG) && MAXCPU > 1
/*
* This set of defines turns on the real functions in i386/isa/apic_ipl.s.
*/
@@ -64,7 +64,7 @@ s_unlock(struct simplelock *lkp)
#define simple_lock_try(alp) s_lock_try(alp)
#define simple_unlock(alp) s_unlock(alp)
-#endif /* !SIMPLELOCK_DEBUG && NCPUS > 1 */
+#endif /* !SIMPLELOCK_DEBUG && MAXCPU > 1 */
#define COM_LOCK()
#define COM_UNLOCK()