diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-05-21 21:27:05 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-05-21 21:27:05 +0000 |
| commit | 0e54ddadd98718e51a0a5c34e83c6bdd55195282 (patch) | |
| tree | e025d5d072375d5852c8e93a01fbf7e144b44557 /sys | |
| parent | 1515cd22e1c15aef915cf618465812e4fcc52440 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/kern_mutex.c | 2 | ||||
| -rw-r--r-- | sys/kern/subr_turnstile.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 2430804084df..153b5058e301 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -621,7 +621,7 @@ _mtx_lock_spin(struct mtx *m, int opts, const char *file, int line) while (m->mtx_lock != MTX_UNOWNED) { if (i++ < 10000000) continue; - if (i++ < 60000000) + if (i < 60000000) DELAY(1); #ifdef DDB else if (!db_active) diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 2430804084df..153b5058e301 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -621,7 +621,7 @@ _mtx_lock_spin(struct mtx *m, int opts, const char *file, int line) while (m->mtx_lock != MTX_UNOWNED) { if (i++ < 10000000) continue; - if (i++ < 60000000) + if (i < 60000000) DELAY(1); #ifdef DDB else if (!db_active) |
