From db48f7a15307df318515b4c417c5b7f3cb2cfe2d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 20 Jul 1998 17:45:49 +0000 Subject: [PATCH] Fix problem brought in with 32K machine. --- src/include/storage/s_lock.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index ba63f770df..c48153deef 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 */ -- 2.11.0