git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 07968db)
Fix typo in solaris spinlock fix.
Tue, 9 Sep 2014 11:57:38 +0000 (13:57 +0200)
Tue, 9 Sep 2014 11:57:38 +0000 (13:57 +0200)
07968dbfaad03 missed part of the S_UNLOCK define when building for
sparcv8+.


diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 39917a41f2c321753ade45e59caf3e8f275806a4..06dc963f87ed28f4f3041e564dfefe8af1681872 100644 (file)
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -415,6 +415,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"); \
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /