summaryrefslogtreecommitdiff
path: root/src/include/storage/s_lock.h
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
committerNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
commit31d250e049b4e3d51a635edaa2221c11815e40e7 (patch)
tree974dc2122d471fa09c16ad0658d3353cc8b644e6 /src/include/storage/s_lock.h
parent92c4abc73693690ce9ff13ede160f0dcb0a2de7b (diff)
Update stale comments, and fix comment typos.
Diffstat (limited to 'src/include/storage/s_lock.h')
-rw-r--r--src/include/storage/s_lock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 75088f83632..a9a92de2470 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -383,7 +383,7 @@ tas(volatile slock_t *lock)
register slock_t _res;
/*
- * See comment in /pg/backend/port/tas/solaris_sparc.s for why this
+ * See comment in src/backend/port/tas/sunstudio_sparc.s for why this
* uses "ldstub", and that file uses "cas". gcc currently generates
* sparcv7-targeted binaries, so "cas" use isn't possible.
*/
@@ -598,7 +598,6 @@ tas(volatile slock_t *lock)
#if defined(__mips__) && !defined(__sgi) /* non-SGI MIPS */
-/* Note: on SGI we use the OS' mutex ABI, see below */
/* Note: R10000 processors require a separate SYNC */
#define HAS_TEST_AND_SET