Fix problem brought in with 32K machine.

This commit is contained in:
Bruce Momjian 1998-07-20 17:45:49 +00:00
parent 0da6358f37
commit db48f7a153
1 changed files with 2 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.42 1998/07/19 09:44:36 momjian Exp $
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.43 1998/07/20 17:45:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -221,6 +221,7 @@ tas(slock_t *s_lock)
res = ((res >> 5) & 1); \
} \
}
#endif /* NEED_NS32K_TAS_ASM */
@ -323,11 +324,6 @@ int tas(volatile slock_t *lock); /* port/.../tas.s, or s_lock.c */
#define TAS(lock) tas((volatile slock_t *) lock)
#endif /* TAS */
#define S_UNLOCK(lock) (*(lock) = 0)
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
#endif /* HAS_TEST_AND_SET */
#endif /* S_LOCK_H */