aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index ec5048770d4..081c79a8297 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: s_lock.h,v 1.109 2003/06/24 23:20:08 momjian Exp $
+ * $Id: s_lock.h,v 1.110 2003/07/20 04:31:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -94,7 +94,7 @@
*/
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__) /* AMD Opteron */
#define TAS(lock) tas(lock)
static __inline__ int
@@ -113,6 +113,7 @@ tas(volatile slock_t *lock)
#endif /* __i386__ || __x86_64__ */
+/* Intel Itanium */
#ifdef __ia64__
#define TAS(lock) tas(lock)