Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25e896
)
Fix typo in solaris spinlock fix.
author
Andres Freund
<andres@anarazel.de>
Tue, 9 Sep 2014 11:57:38 +0000
(13:57 +0200)
committer
Andres Freund
<andres@anarazel.de>
Tue, 9 Sep 2014 21:48:08 +0000
(23:48 +0200)
07968dbfaad03
missed part of the S_UNLOCK define when building for
sparcv8+.
src/include/storage/s_lock.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index bc15e224efcd633255a6c711b6b49cdc00c674a2..a83982b9c4e7c68f2521a1a51d961f17125b068b 100644
(file)
--- a/
src/include/storage/s_lock.h
+++ b/
src/include/storage/s_lock.h
@@
-385,6
+385,7
@@
do \
* #LoadStore (RMO) | #StoreStore (RMO, PSO) together are the appropriate
* release barrier for sparcv8+ upwards.
*/
+#define S_UNLOCK(lock) \
do \
{ \
__asm__ __volatile__ ("membar #LoadStore | #StoreStore \n":::"memory"); \