postgres.git / summary / log / commit / refs

commit    bca91236a7531fdd6562280156823db2c4f891b8
Author:   Andres Freund <andres@anarazel.de>
Date:     Tue Sep 09 11:57:38 2014 +0000
First released in: 9.5.0, 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.0

    Fix typo in solaris spinlock fix.
    
    07968dbfaad03 missed part of the S_UNLOCK define when building for
    sparcv8+.


src/include/storage/s_lock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index b0c54128616..e1719e208c3 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -448,6 +448,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"); \ [parent: 27ef6b65308c]