Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb48f7a

Browse files
committed
Fix problem brought in with 32K machine.
1 parent0da6358 commitdb48f7a

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 @@ inttas(volatile slock_t *lock); /* port/.../tas.s, or s_lock.c */
323324
#defineTAS(lock)tas((volatile slock_t *) lock)
324325
#endif/* TAS */
325326

326-
#defineS_UNLOCK(lock) (*(lock) = 0)
327-
328-
#defineS_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)

[8]ページ先頭

©2009-2025 Movatter.jp