提交 db48f7a1 编写于 作者: B Bruce Momjian

Fix problem brought in with 32K machine.

上级 0da6358f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -221,6 +221,7 @@ tas(slock_t *s_lock)
res = ((res >> 5) & 1); \ res = ((res >> 5) & 1); \
} \ } \
} }
#endif /* NEED_NS32K_TAS_ASM */ #endif /* NEED_NS32K_TAS_ASM */
...@@ -323,11 +324,6 @@ int tas(volatile slock_t *lock); /* port/.../tas.s, or s_lock.c */ ...@@ -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) #define TAS(lock) tas((volatile slock_t *) lock)
#endif /* TAS */ #endif /* TAS */
#define S_UNLOCK(lock) (*(lock) = 0)
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
#endif /* HAS_TEST_AND_SET */ #endif /* HAS_TEST_AND_SET */
#endif /* S_LOCK_H */ #endif /* S_LOCK_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册