summaryrefslogtreecommitdiff
path: root/shmexport.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-01 10:21:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-11-01 10:21:33 -0400
commit6c69f66af4bc733fd95a4957ec59681ca374e40b (patch)
tree42fe8a9375f12fdedb61ecb5c3418e6162110093 /shmexport.c
parenteaac14cb9e6b0517b9fedb1129f466525ea0fa64 (diff)
downloadgpsd-6c69f66af4bc733fd95a4957ec59681ca374e40b.tar.gz
Repair outdated comment.
Diffstat (limited to 'shmexport.c')
-rw-r--r--shmexport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shmexport.c b/shmexport.c
index f78ba5ad..1baadd4e 100644
--- a/shmexport.c
+++ b/shmexport.c
@@ -71,8 +71,7 @@ void shm_update(struct gps_context_t *context, struct gps_data_t *gpsdata)
++tick;
/*
* Following block of instructions must not be reordered, otherwise
- * havoc will ensue. asm volatile("sfence") is a GCCism intended
- * to prevent reordering.
+ * havoc will ensue.
*
* This is a simple optimistic-concurrency technique. We write
* the second bookend first, then the data, then the first bookend.