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

Commit f9322c6

Browse files
committed
Missed the __alpha__ to __alpha change...
From: David Gould <dg@illustra.com>
1 parent c73e186 commit f9322c6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/backend/storage/buffer/s_lock.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.6 1998/05/04 16:58:38 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.7 1998/05/04 23:49:09 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -92,7 +92,7 @@ s_lock_stuck(slock_t *lock, char *file, int line)
9292
*/
9393

9494

95-
#if defined(__alpha__)
95+
#if defined(__alpha)
9696
int
9797
tas(slock_t *lock)
9898
{
@@ -114,7 +114,7 @@ tas(slock_t *lock)
114114

115115
return (_res != 0);
116116
}
117-
#endif /* __alpha__ */
117+
#endif /* __alpha */
118118

119119

120120

src/include/port/linux.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#if defined(PPC)
1313
typedef unsigned int slock_t;
1414

15-
#elif defined(__alpha__)
15+
#elif defined(__alpha)
1616
typedef long int slock_t;
1717

1818
#else /* i386 probably */

src/include/storage/s_lock.h

+5-5
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.32 1998/05/04 16:58:59 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.33 1998/05/04 23:49:17 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -74,11 +74,11 @@
7474
* All Linux
7575
*/
7676

77-
#if defined(__alpha__)
77+
#if defined(__alpha)
7878

7979
#define S_UNLOCK(lock) { __asm__("mb"); *(lock) = 0; }
8080

81-
#endif /* __alpha__ */
81+
#endif /* __alpha */
8282

8383

8484

@@ -129,7 +129,7 @@
129129

130130

131131

132-
#if (defined(__alpha__)
132+
#if (defined(__alpha)
133133
/*
134134
* OSF/1 (Alpha AXP)
135135
*
@@ -144,7 +144,7 @@
144144

145145
#define S_LOCK_FREE(lock) (!(lock)->msem_state)
146146

147-
#endif /* __alpha__ */
147+
#endif /* __alpha */
148148

149149

150150

0 commit comments

Comments
 (0)