diff options
author | Andres Freund <andres@anarazel.de> | 2014-06-28 21:40:40 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-06-28 21:46:15 +0200 |
commit | a6d488cb538c8761658f0f7edfc40cecc8c29f2d (patch) | |
tree | 4c4850de88cb668fe883b14dde4715df9fca2b5f /src/include/storage/barrier.h | |
parent | d222585a9f7a18f2d793785c82be4c877b90c461 (diff) | |
download | postgresql-a6d488cb538c8761658f0f7edfc40cecc8c29f2d.tar.gz postgresql-a6d488cb538c8761658f0f7edfc40cecc8c29f2d.zip |
Remove Alpha and Tru64 support.
Support for running postgres on Alpha hasn't been tested for a long
while. Due to Alpha's uniquely lax cache coherency model it's a hard
to develop for platform (especially blindly!) and thought to be
unlikely to currently work correctly.
As Alpha is the only supported architecture for Tru64 drop support for
it as well. Tru64's support has ended 2012 and it has been in
maintenance-only mode for much longer.
Also remove stray references to __ksr__ and ultrix defines.
Diffstat (limited to 'src/include/storage/barrier.h')
-rw-r--r-- | src/include/storage/barrier.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/include/storage/barrier.h b/src/include/storage/barrier.h index bc61de0ff14..79a2f8d9b2c 100644 --- a/src/include/storage/barrier.h +++ b/src/include/storage/barrier.h @@ -109,16 +109,7 @@ extern slock_t dummy_spinlock; #define pg_memory_barrier() __asm__ __volatile__ ("sync" : : : "memory") #define pg_read_barrier() __asm__ __volatile__ ("lwsync" : : : "memory") #define pg_write_barrier() __asm__ __volatile__ ("lwsync" : : : "memory") -#elif defined(__alpha) || defined(__alpha__) /* Alpha */ -/* - * Unlike all other known architectures, Alpha allows dependent reads to be - * reordered, but we don't currently find it necessary to provide a conditional - * read barrier to cover that case. We might need to add that later. - */ -#define pg_memory_barrier() __asm__ __volatile__ ("mb" : : : "memory") -#define pg_read_barrier() __asm__ __volatile__ ("rmb" : : : "memory") -#define pg_write_barrier() __asm__ __volatile__ ("wmb" : : : "memory") #elif defined(__hppa) || defined(__hppa__) /* HP PA-RISC */ /* HPPA doesn't do either read or write reordering */ |