mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Missed the __alpha__ to __alpha change...
From: David Gould <dg@illustra.com>
This commit is contained in:
parent
c73e186948
commit
f9322c66d3
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.6 1998/05/04 16:58:38 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.7 1998/05/04 23:49:09 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -92,7 +92,7 @@ s_lock_stuck(slock_t *lock, char *file, int line)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#if defined(__alpha__)
|
#if defined(__alpha)
|
||||||
int
|
int
|
||||||
tas(slock_t *lock)
|
tas(slock_t *lock)
|
||||||
{
|
{
|
||||||
@ -114,7 +114,7 @@ tas(slock_t *lock)
|
|||||||
|
|
||||||
return (_res != 0);
|
return (_res != 0);
|
||||||
}
|
}
|
||||||
#endif /* __alpha__ */
|
#endif /* __alpha */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#if defined(PPC)
|
#if defined(PPC)
|
||||||
typedef unsigned int slock_t;
|
typedef unsigned int slock_t;
|
||||||
|
|
||||||
#elif defined(__alpha__)
|
#elif defined(__alpha)
|
||||||
typedef long int slock_t;
|
typedef long int slock_t;
|
||||||
|
|
||||||
#else /* i386 probably */
|
#else /* i386 probably */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.32 1998/05/04 16:58:59 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.33 1998/05/04 23:49:17 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -74,11 +74,11 @@
|
|||||||
* All Linux
|
* All Linux
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__alpha__)
|
#if defined(__alpha)
|
||||||
|
|
||||||
#define S_UNLOCK(lock) { __asm__("mb"); *(lock) = 0; }
|
#define S_UNLOCK(lock) { __asm__("mb"); *(lock) = 0; }
|
||||||
|
|
||||||
#endif /* __alpha__ */
|
#endif /* __alpha */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -129,7 +129,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if (defined(__alpha__)
|
#if (defined(__alpha)
|
||||||
/*
|
/*
|
||||||
* OSF/1 (Alpha AXP)
|
* OSF/1 (Alpha AXP)
|
||||||
*
|
*
|
||||||
@ -144,7 +144,7 @@
|
|||||||
|
|
||||||
#define S_LOCK_FREE(lock) (!(lock)->msem_state)
|
#define S_LOCK_FREE(lock) (!(lock)->msem_state)
|
||||||
|
|
||||||
#endif /* __alpha__ */
|
#endif /* __alpha */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user