Module Name: src
Committed By: riastradh
Date: Sat Nov 30 15:34:07 UTC 2019
Modified Files:
src/sys/sys: mutex.h
Log Message:
Nix vestigial references to MUTEX_GIVE and MUTEX_RECEIVE in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/sys/mutex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/mutex.h
diff -u src/sys/sys/mutex.h:1.22 src/sys/sys/mutex.h:1.23
--- src/sys/sys/mutex.h:1.22 Sat Sep 16 23:25:35 2017
+++ src/sys/sys/mutex.h Sat Nov 30 15:34:07 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.22 2017/09/16 23:25:35 christos Exp $ */
+/* $NetBSD: mutex.h,v 1.23 2019/11/30 15:34:07 riastradh Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -63,13 +63,6 @@
* [additionally:]
* volatile integer mtx_id
*
- * MUTEX_RECEIVE(mtx)
- * Post a load fence after acquiring the mutex, if necessary.
- *
- * MUTEX_GIVE(mtx)
- * Post a load/store fence after releasing the mutex, if
- * necessary.
- *
* MUTEX_CAS(ptr, old, new)
* Perform an atomic "compare and swap" operation and
* evaluate to true or false according to the success