Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d663f1c

Browse files
committed
Sparc lock fix for Linux/netbsd.
1 parent 4b74ca2 commit d663f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.8 1997/09/30 16:21:42 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.9 1997/10/02 18:32:58 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -351,7 +351,7 @@ tas_dummy()
351351
__asm__("ldstub [%1], %0" \
352352
: "=&r"(_res) \
353353
: "r"(lock)); \
354-
} while (!_res != 0); \
354+
} while (_res != 0); \
355355
} while (0)
356356

357357
#define S_UNLOCK(lock) (*(lock) = 0)

0 commit comments

Comments
 (0)