Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/raidframe Pullup 1.38 [oster]:



details:   https://anonhg.NetBSD.org/src/rev/ec06b8d0cd06
branches:  netbsd-1-5
changeset: 489817:ec06b8d0cd06
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 20:15:00 2000 +0000

description:
Pullup 1.38 [oster]:
convert tsleep()->ltsleep(), which makes the kernel complain less
when compiled with LOCKDEBUG.

diffstat:

 sys/dev/raidframe/rf_driver.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 24e2eff010b5 -r ec06b8d0cd06 sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c     Tue Oct 17 20:11:47 2000 +0000
+++ b/sys/dev/raidframe/rf_driver.c     Tue Oct 17 20:15:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_driver.c,v 1.37 2000/06/04 02:05:13 oster Exp $     */
+/*     $NetBSD: rf_driver.c,v 1.37.2.1 2000/10/17 20:15:00 tv Exp $    */
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -142,7 +142,8 @@
 
 #define SIGNAL_QUIESCENT_COND(_raid_)  wakeup(&((_raid_)->accesses_suspended))
 #define WAIT_FOR_QUIESCENCE(_raid_) \
-       tsleep(&((_raid_)->accesses_suspended),PRIBIO,"raidframe quiesce", 0);
+       ltsleep(&((_raid_)->accesses_suspended), PRIBIO, \
+               "raidframe quiesce", 0, &((_raid_)->access_suspend_mutex))
 
 #define IO_BUF_ERR(bp, err) { \
        bp->b_flags |= B_ERROR; \



Home | Main Index | Thread Index | Old Index