aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-07-18 14:38:12 +0000
committerBruce Momjian <bruce@momjian.us>1998-07-18 14:38:12 +0000
commitb47466482f28760df1442507e4c2221297d1376e (patch)
treedc7869fdb1818bfa1d50844cb63cbfbb8a033ccf /src
parent584f9438caef700f25596618141e29265f9595da (diff)
downloadpostgresql-b47466482f28760df1442507e4c2221297d1376e.tar.gz
postgresql-b47466482f28760df1442507e4c2221297d1376e.zip
Thank you for testing and reporting this. It is my fault of course,
but as I don't have access to a sparc for testing I just did what I could. I am guessing here, but please apply the following to your pgsql and let me know what happens. Also, cd to src/storage/buffer and do 'make s_lock_test' as well. David Gould
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 4808d3d4932..b628438f62b 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.36 1998/06/16 07:18:16 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.37 1998/07/18 14:38:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -130,7 +130,7 @@ tas(volatile slock_t *lock)
__asm__("ldstub [%1], %0" \
: "=r"(_res), "=m"(*lock) \
- : "1"(lock));
+ : "0"(lock));
return (int) _res;
}
#endif /* sparc */