Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
> Modified Files:
> src/sys/kern: kern_lock.c
>
> Log Message:
> Nuke __HAVE_SPLBIGLOCK.
This breaks compiles with !defined(MULTIPROCESSOR) && defined(LOCKDEBUG):
kern_rwlock.o: In function `rw_vector_enter':
/usr/src/sys/kern/kern_rwlock.c:231: undefined reference to `kernel_lock'
The relevant section of code is this:
#ifdef LOCKDEBUG
if (panicstr == NULL) {
simple_lock_only_held(NULL, "rw_enter");
LOCKDEBUG_BARRIER(&kernel_lock, 1);
}
#endif
Is the proper fix to #ifdef the LOCKDEBUG_BARRIER bit, or to nuke it
entirely?
Home |
Main Index |
Thread Index |
Old Index