Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db48f7a

Browse files
committed
Fix problem brought in with 32K machine.
1 parent 0da6358 commit db48f7a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/include/storage/s_lock.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.42 1998/07/19 09:44:36 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.43 1998/07/20 17:45:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -221,6 +221,7 @@ tas(slock_t *s_lock)
221221
res = ((res >> 5) & 1); \
222222
} \
223223
}
224+
224225
#endif /* NEED_NS32K_TAS_ASM */
225226

226227

@@ -323,11 +324,6 @@ int tas(volatile slock_t *lock); /* port/.../tas.s, or s_lock.c */
323324
#define TAS(lock) tas((volatile slock_t *) lock)
324325
#endif /* TAS */
325326

326-
#define S_UNLOCK(lock) (*(lock) = 0)
327-
328-
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
329-
330-
331327
#endif /* HAS_TEST_AND_SET */
332328
#endif /* S_LOCK_H */
333329

0 commit comments

Comments
 (0)