Skip to content

Commit

Permalink
dev-db/postgresql: Fix Bug 555198
Browse files Browse the repository at this point in the history
Add patch to correct typo in Alpha architecture specific assembly code.

Package-Manager: portage-2.2.20.1
  • Loading branch information
titanofold committed Sep 6, 2015
1 parent 7767eb3 commit 04d5d28
Show file tree
Hide file tree
Showing 2 changed files with 435 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
===================================================================
--- postgresql-9.4-9.4~beta2.orig/src/include/storage/barrier.h
+++ postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
@@ -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

0 comments on commit 04d5d28

Please sign in to comment.