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.6 [oster]:
details: https://anonhg.NetBSD.org/src/rev/64bf06135522
branches: netbsd-1-5
changeset: 489818:64bf06135522
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 20:15:11 2000 +0000
description:
Pullup 1.6 [oster]:
convert tsleep()->ltsleep(), which makes the kernel complain less
when compiled with LOCKDEBUG.
diffstat:
sys/dev/raidframe/rf_mcpair.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ec06b8d0cd06 -r 64bf06135522 sys/dev/raidframe/rf_mcpair.h
--- a/sys/dev/raidframe/rf_mcpair.h Tue Oct 17 20:15:00 2000 +0000
+++ b/sys/dev/raidframe/rf_mcpair.h Tue Oct 17 20:15:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_mcpair.h,v 1.4.18.1 2000/10/17 20:09:40 tv Exp $ */
+/* $NetBSD: rf_mcpair.h,v 1.4.18.2 2000/10/17 20:15:11 tv Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -43,7 +43,7 @@
RF_MCPair_t *next;
};
#define RF_WAIT_MCPAIR(_mcp) \
- tsleep(&((_mcp)->cond), PRIBIO, "mcpair", 0)
+ ltsleep(&((_mcp)->cond), PRIBIO, "mcpair", 0, &((_mcp)->mutex))
int rf_ConfigureMCPair(RF_ShutdownList_t ** listp);
RF_MCPair_t *rf_AllocMCPair(void);
Home |
Main Index |
Thread Index |
Old Index