[BACK]Return to kern_mutex.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

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

Diff for /src/sys/kern/kern_mutex.c between version 1.32 and 1.33

version 1.32, 2008/03/28 16:23:39 version 1.33, 2008/03/28 22:19:39
Line 721  mutex_vector_exit(kmutex_t *mtx)
Line 721  mutex_vector_exit(kmutex_t *mtx)
         if (MUTEX_SPIN_P(mtx)) {          if (MUTEX_SPIN_P(mtx)) {
 #ifdef FULL  #ifdef FULL
                 if (!__SIMPLELOCK_LOCKED_P(&mtx->mtx_lock))                  if (__predict_false(!__SIMPLELOCK_LOCKED_P(&mtx->mtx_lock))) {
                           if (panicstr != NULL)
                         MUTEX_ABORT(mtx, "exiting unheld spin mutex");                          MUTEX_ABORT(mtx, "exiting unheld spin mutex");
                 MUTEX_UNLOCKED(mtx);                  MUTEX_UNLOCKED(mtx);
                 __cpu_simple_unlock(&mtx->mtx_lock);                  __cpu_simple_unlock(&mtx->mtx_lock);
 #endif  #endif

Removed from v.1.32  
changed lines
  Added in v.1.33

CVSweb <webmaster@jp.NetBSD.org>