backout rev 1.74

Requested by:	ssouhlal
This commit is contained in:
Sam Leffler 2006-04-07 05:16:02 +00:00
parent 7935d5382b
commit 587070382a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157576

View file

@ -118,7 +118,6 @@ struct filedesc_to_leader {
mtx_unlock(&(fd)->fd_mtx); \
} while (0)
#ifdef SMP
#define FILEDESC_LOCK_FAST(fd) \
do { \
mtx_lock(&(fd)->fd_mtx); \
@ -138,10 +137,7 @@ struct filedesc_to_leader {
wakeup(&(fd)->fd_locked); \
mtx_unlock(&(fd)->fd_mtx); \
} while (0)
#else
#define FILEDESC_LOCK_FAST(fdp) critical_enter()
#define FILEDESC_UNLOCK_FAST(fdp) critical_exit()
#endif /* SMP */
#ifdef INVARIANT_SUPPORT
#define FILEDESC_LOCK_ASSERT(fd, arg) \
do { \