forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to correct typo in Alpha architecture specific assembly code. Package-Manager: portage-2.2.20.1
- Loading branch information
1 parent
7767eb3
commit 04d5d28
Showing
2 changed files
with
435 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
dev-db/postgresql/files/postgresql-9.4-alpha-fix-read-memory-barrier.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ | ||
|
Oops, something went wrong.