summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/semaphore.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
commitb9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch)
tree42d07b0c7246ae2536a702e7c5de9e2732341116 /arch/ia64/kernel/semaphore.c
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'arch/ia64/kernel/semaphore.c')
-rw-r--r--arch/ia64/kernel/semaphore.c2
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;