diff options
Diffstat (limited to 'sys/alpha/include/lock.h')
-rw-r--r-- | sys/alpha/include/lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/include/lock.h b/sys/alpha/include/lock.h index 1066d46..f2e3448 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() |