mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
s_lock aix patch.
This commit is contained in:
parent
e6556e7365
commit
e3b06a871b
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.54 1998/10/27 17:47:51 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.55 1998/10/28 15:58:34 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -175,7 +175,7 @@ static __inline__ int
|
||||
tas(volatile slock_t *lock)
|
||||
{
|
||||
register _res;
|
||||
__asm__("sbitb 0, %0 \
|
||||
__asm__("sbitb 0, %0 \n\
|
||||
sfsd %1"
|
||||
: "=m"(*lock), "=r"(_res));
|
||||
return (int) _res;
|
||||
|
Loading…
Reference in New Issue
Block a user