File tree 5 files changed +3
-7
lines changed
5 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
*
11
11
* IDENTIFICATION
12
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.17 2003/11/29 19:51:57 pgsql Exp $
12
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.18 2003/12/22 23:39:53 momjian Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -208,7 +208,7 @@ tas_dummy() /* really means: extern int tas(slock_t
208
208
209
209
210
210
211
- #if defined(NEED_SPARC_TAS_ASM )
211
+ #if defined(__sparc__ ) || defined( __sparc )
212
212
/*
213
213
* sparc machines not using gcc
214
214
*/
@@ -227,7 +227,7 @@ tas_dummy() /* really means: extern int tas(slock_t
227
227
asm("retl" );
228
228
asm("nop" );
229
229
}
230
- #endif /* NEED_SPARC_TAS_ASM */
230
+ #endif /* __sparc || __sparc__ */
231
231
232
232
233
233
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ typedef unsigned char slock_t;
6
6
typedef unsigned int slock_t ;
7
7
#endif
8
8
#if defined(__sparc__ )
9
- #define NEED_SPARC_TAS_ASM
10
9
typedef unsigned char slock_t ;
11
10
#endif
12
11
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ typedef unsigned int slock_t;
10
10
#endif
11
11
12
12
#if defined(__sparc__ )
13
- #define NEED_SPARC_TAS_ASM
14
13
#define HAS_TEST_AND_SET
15
14
typedef unsigned char slock_t ;
16
15
#endif
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ typedef unsigned int slock_t;
10
10
#endif
11
11
12
12
#if defined(__sparc__ )
13
- #define NEED_SPARC_TAS_ASM
14
13
#define HAS_TEST_AND_SET
15
14
typedef unsigned char slock_t ;
16
15
#endif
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ typedef unsigned int slock_t;
10
10
#endif
11
11
12
12
#if defined(__sparc__ )
13
- #define NEED_SPARC_TAS_ASM
14
13
#define HAS_TEST_AND_SET
15
14
typedef unsigned char slock_t ;
16
15
#endif
You can’t perform that action at this time.
0 commit comments