diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-08-22 16:14:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-08-22 16:14:23 +0000 |
| commit | 814f26da8a2f726b3092932ee41638932f984acf (patch) | |
| tree | 7eaa93ca722924e9de69eb755ae819408ee9b039 | |
| parent | 4b3963629cfe2ec16486f7fb9f587fda3ce442f2 (diff) | |
Notes
| -rw-r--r-- | sys/kern/kern_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 2f71efa45574..df123a596936 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -499,7 +499,7 @@ __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, * We have been unable to succeed in upgrading, so just * give up the shared lock. */ - wakeup_swapper += wakeupshlk(lk, file, line); + wakeup_swapper |= wakeupshlk(lk, file, line); /* FALLTHROUGH */ case LK_EXCLUSIVE: @@ -787,7 +787,7 @@ __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, "%s: %p waking up all threads on the %s queue", __func__, lk, queue == SQ_SHARED_QUEUE ? "shared" : "exclusive"); - wakeup_swapper += sleepq_broadcast( + wakeup_swapper |= sleepq_broadcast( &lk->lock_object, SLEEPQ_LK, 0, queue); /* |
