8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11da9e5 commit af0a152Copy full SHA for af0a152
src/include/storage/s_lock.h
@@ -9,7 +9,7 @@
9
*
10
11
* IDENTIFICATION
12
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.87 2001/02/02 18:21:59 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.88 2001/02/10 04:07:25 tgl Exp $
13
14
*-------------------------------------------------------------------------
15
*/
@@ -222,8 +222,9 @@ tas(volatile slock_t *lock)
222
register int rv;
223
224
__asm__ __volatile__(
225
- " tas %1 \n"
226
- " sne %0 \n"
+ " clrl %0 \n"
+ " tas %1 \n"
227
+ " sne %0 \n"
228
: "=d"(rv), "=m"(*lock)
229
: "1"(*lock)
230
: "cc");
0 commit comments