mirror of
https://github.com/postgres/postgres.git
synced 2026-02-22 01:11:05 -05:00
Use "mb" not the nonexistent "rmb" for pg_read_barrier() on Alpha.
It's only necessary to fix this in 9.4; later versions don't have this code (because we ripped out Alpha support entirely), while earlier ones aren't actually using pg_read_barrier() anywhere. Per rather belated report from Christoph Berg.
This commit is contained in:
parent
3da9c060fc
commit
747ca66977
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ extern slock_t dummy_spinlock;
|
|||
* 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_read_barrier() __asm__ __volatile__ ("mb" : : : "memory")
|
||||
#define pg_write_barrier() __asm__ __volatile__ ("wmb" : : : "memory")
|
||||
#elif defined(__hppa) || defined(__hppa__) /* HP PA-RISC */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue