aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-09-22 15:59:19 +0000
committerBruce Momjian <bruce@momjian.us>1997-09-22 15:59:19 +0000
commita2a0842d1ca792e26243ec22a7e55a1009b0dc4e (patch)
tree4551e98d21aaf8b19f1b71d9836e094a693f7234 /src
parent85f755513233fb499082d8f76c0d68e8773a6714 (diff)
downloadpostgresql-a2a0842d1ca792e26243ec22a7e55a1009b0dc4e.tar.gz
postgresql-a2a0842d1ca792e26243ec22a7e55a1009b0dc4e.zip
Fix for missing tas on some platforms.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index c05727430d3..8b5a97459df 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.3 1997/09/22 15:49:14 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.4 1997/09/22 15:59:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -205,7 +205,6 @@ static int tas(slock_t *lock);
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
-#ifdef NOT_USED
static int
tas_dummy()
{
@@ -226,7 +225,6 @@ tas_dummy()
asm(" rts");
asm(" .data");
}
-#endif
#endif /* sun3 */
@@ -243,7 +241,6 @@ tas_dummy()
static int tas(slock_t *lock);
-#ifdef NOT_USED
static int
tas_dummy()
{
@@ -276,7 +273,6 @@ tas_dummy()
asm("retl");
asm("nop");
}
-#endif
#define S_LOCK(addr) do \
{ \
@@ -366,7 +362,6 @@ tas_dummy()
#if defined(linux) && defined(PPC)
-#ifdef NOT_USED
static int
tas_dummy()
{
@@ -385,7 +380,6 @@ success: \n\
blr \n\
");
}
-#endif
#define S_LOCK(lock) do \
{ \