mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
s_lock aix patch.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user