diff options
author | Robert Haas <rhaas@postgresql.org> | 2013-10-17 12:02:05 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2013-10-17 12:02:05 -0400 |
commit | 81051a86bcecdc681592725139fe610b2c1d1428 (patch) | |
tree | b6941abeac009d2cac64fdd5c6e8fdf45a21a88a /src/backend | |
parent | bbe4deac1b98594206a024c9e91d664b3c3410d9 (diff) | |
download | postgresql-81051a86bcecdc681592725139fe610b2c1d1428.tar.gz postgresql-81051a86bcecdc681592725139fe610b2c1d1428.zip |
Remove spinlock support for SINIX, Sun3, and NS32K.
All of these platforms are very much obsolete.
As far as I can determine, the last version of SINIX, later renamed
Reliant, occurred some time between 2002 and 2005.
The last release of SunOS that would run on a sun3 was released in
November of 1991; the last release of OpenBSD which supported that
platform was in 2001. The highest clock speed of any processor in
the family was 25MHz.
The NS32K (national semiconductor 320xx) architecture was retired
in 1990.
Support can be re-added if a maintainer emerges for any of these
platforms, but it seems unlikely.
Reviewed by Andres Freund.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/storage/lmgr/s_lock.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/backend/storage/lmgr/s_lock.c b/src/backend/storage/lmgr/s_lock.c index 940b6865d24..138b3379450 100644 --- a/src/backend/storage/lmgr/s_lock.c +++ b/src/backend/storage/lmgr/s_lock.c @@ -247,36 +247,6 @@ _success: \n\ ); } #endif /* __m68k__ && !__linux__ */ -#else /* not __GNUC__ */ - -/* - * All non gcc - */ - - -#if defined(sun3) -static void -tas_dummy() /* really means: extern int tas(slock_t - * *lock); */ -{ - asm("LLA0:"); - asm(" .data"); - asm(" .text"); - asm("|#PROC# 04"); - asm(" .globl _tas"); - asm("_tas:"); - asm("|#PROLOGUE# 1"); - asm(" movel sp@(0x4),a0"); - asm(" tas a0@"); - asm(" beq LLA1"); - asm(" moveq #-128,d0"); - asm(" rts"); - asm("LLA1:"); - asm(" moveq #0,d0"); - asm(" rts"); - asm(" .data"); -} -#endif /* sun3 */ #endif /* not __GNUC__ */ #endif /* HAVE_SPINLOCKS */ |