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

Commita2a0842

Browse files
committed
Fix for missing tas on some platforms.
1 parent85f7555 commita2a0842

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎src/include/storage/s_lock.h

Lines changed: 1 addition & 7 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.3 1997/09/22 15:49:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.4 1997/09/22 15:59:19 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -205,7 +205,6 @@ static inttas(slock_t *lock);
205205

206206
#defineS_INIT_LOCK(lock)S_UNLOCK(lock)
207207

208-
#ifdefNOT_USED
209208
staticint
210209
tas_dummy()
211210
{
@@ -226,7 +225,6 @@ tas_dummy()
226225
asm("rts");
227226
asm(".data");
228227
}
229-
#endif
230228

231229
#endif/* sun3 */
232230

@@ -243,7 +241,6 @@ tas_dummy()
243241

244242
staticinttas(slock_t*lock);
245243

246-
#ifdefNOT_USED
247244
staticint
248245
tas_dummy()
249246
{
@@ -276,7 +273,6 @@ tas_dummy()
276273
asm("retl");
277274
asm("nop");
278275
}
279-
#endif
280276

281277
#defineS_LOCK(addr)do \
282278
{ \
@@ -366,7 +362,6 @@ tas_dummy()
366362

367363
#if defined(linux)&& defined(PPC)
368364

369-
#ifdefNOT_USED
370365
staticint
371366
tas_dummy()
372367
{
@@ -385,7 +380,6 @@ success:\n\
385380
blr\n\
386381
");
387382
}
388-
#endif
389383

390384
#defineS_LOCK(lock)do \
391385
{ \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp