Fix merge error.
This commit is contained in:
parent
41f847fb03
commit
888ef28a4d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locks.c,v 1.7 2008/01/02 11:49:06 ad Exp $ */
|
||||
/* $NetBSD: locks.c,v 1.8 2008/01/02 12:46:07 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||
|
@ -185,14 +185,6 @@ cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx)
|
||||
{
|
||||
|
||||
rumpuser_cv_wait(RUMPCV(cv), mtx->kmtx_mtx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
cv_timedwait(kcondvar_t *cv, kmutex_t *mtx, int ticks)
|
||||
{
|
||||
|
@ -211,15 +203,6 @@ cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mtx, int ticks)
|
|||
return rumpuser_cv_timedwait(RUMPCV(cv), mtx->kmtx_mtx, ticks);
|
||||
}
|
||||
|
||||
int
|
||||
cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mtx, int ticks)
|
||||
{
|
||||
extern int hz;
|
||||
|
||||
KASSERT(hz == 100);
|
||||
return rumpuser_cv_timedwait(RUMPCV(cv), mtx->kmtx_mtx, ticks);
|
||||
}
|
||||
|
||||
void
|
||||
cv_signal(kcondvar_t *cv)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue