Add Opteron/Itanium comment.

This commit is contained in:
Bruce Momjian 2003-07-20 04:31:32 +00:00
parent 2f46ac5211
commit 9132506477
1 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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) #define TAS(lock) tas(lock)
static __inline__ int static __inline__ int
@ -113,6 +113,7 @@ tas(volatile slock_t *lock)
#endif /* __i386__ || __x86_64__ */ #endif /* __i386__ || __x86_64__ */
/* Intel Itanium */
#ifdef __ia64__ #ifdef __ia64__
#define TAS(lock) tas(lock) #define TAS(lock) tas(lock)