From 6c69f66af4bc733fd95a4957ec59681ca374e40b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 1 Nov 2013 10:21:33 -0400 Subject: Repair outdated comment. --- shmexport.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shmexport.c') 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. -- cgit v1.2.1