1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

NS32K lock patch reversed.

This commit is contained in:
Bruce Momjian
1998-09-18 17:18:41 +00:00
parent 1202ab259a
commit 4a9da7e5c4
2 changed files with 18 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.11 1998/09/18 05:36:23 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.12 1998/09/18 17:18:39 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -118,17 +118,6 @@ success: \n\
#endif /* PPC */
#if defined(__ns32k__)
int
tas(volatile slock_t *lock)
{
int res;
__asm__("sbitb 0, %0" : "=m"(*lock));
__asm__("sprb us, %0" : "=r"(res));
res = (res >> 5) & 1;
return res;
}
#endif
#else /* defined(__GNUC__) */
/***************************************************************************