From 31eb0a91a52a5b67564cf38e79f1f01930a28ed5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 29 May 2000 01:00:03 +0000 Subject: Update. 2000-05-28 Ulrich Drepper * sysdeps/arm/atomicity.h (compare_and_swap): Return result. --- sysdeps/arm/atomicity.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps') diff --git a/sysdeps/arm/atomicity.h b/sysdeps/arm/atomicity.h index 01bd64e..c1f3b03 100644 --- a/sysdeps/arm/atomicity.h +++ b/sysdeps/arm/atomicity.h @@ -81,6 +81,7 @@ compare_and_swap (volatile long int *p, long int oldval, long int newval) : "=&r" (result), "=&r" (tmp) : "r" (p), "r" (newval), "r" (oldval) : "cc", "memory"); + return result; } #endif /* atomicity.h */ -- cgit v1.1