diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
commit | b9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch) | |
tree | 42d07b0c7246ae2536a702e7c5de9e2732341116 /arch/ia64/kernel/semaphore.c | |
parent | 7406b0a326f2d70ade2671c37d1beef62249db97 (diff) |
Merge with 2.3.99-pre6.
Diffstat (limited to 'arch/ia64/kernel/semaphore.c')
-rw-r--r-- | arch/ia64/kernel/semaphore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/semaphore.c b/arch/ia64/kernel/semaphore.c index 980fa4329..bc55670bf 100644 --- a/arch/ia64/kernel/semaphore.c +++ b/arch/ia64/kernel/semaphore.c @@ -310,7 +310,7 @@ __down_write_failed (struct rw_semaphore *sem, long count) do { old_count = sem->count; count = old_count - RW_LOCK_BIAS; - } while (cmpxchg(&sem->count, old_count, count) != old_count); + } while (cmpxchg_acq(&sem->count, old_count, count) != old_count); if (count == 0) return; |