diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-07-20 17:45:49 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-07-20 17:45:49 +0000 |
commit | db48f7a15307df318515b4c417c5b7f3cb2cfe2d (patch) | |
tree | 3de3f9ea877940f202bb3c03fd958bfec33c0baf /src | |
parent | 0da6358f373c2736626b4189a3e7e413e107b9a0 (diff) | |
download | postgresql-db48f7a15307df318515b4c417c5b7f3cb2cfe2d.tar.gz postgresql-db48f7a15307df318515b4c417c5b7f3cb2cfe2d.zip |
Fix problem brought in with 32K machine.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/s_lock.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index ba63f770dfa..c48153deef6 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.42 1998/07/19 09:44:36 momjian Exp $ + * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.43 1998/07/20 17:45:49 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -221,6 +221,7 @@ tas(slock_t *s_lock) res = ((res >> 5) & 1); \ } \ } + #endif /* NEED_NS32K_TAS_ASM */ @@ -323,11 +324,6 @@ int tas(volatile slock_t *lock); /* port/.../tas.s, or s_lock.c */ #define TAS(lock) tas((volatile slock_t *) lock) #endif /* TAS */ -#define S_UNLOCK(lock) (*(lock) = 0) - -#define S_INIT_LOCK(lock) S_UNLOCK(lock) - - #endif /* HAS_TEST_AND_SET */ #endif /* S_LOCK_H */ |