Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Omit vestigial notes on ...



details:   https://anonhg.NetBSD.org/src/rev/980c33c4a14c
branches:  trunk
changeset: 332251:980c33c4a14c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Sep 13 00:33:45 2014 +0000

description:
Omit vestigial notes on porting before the API was made to match.

diffstat:

 sys/external/bsd/drm2/include/linux/ww_mutex.h |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (27 lines):

diff -r 0e5a3ce694fc -r 980c33c4a14c sys/external/bsd/drm2/include/linux/ww_mutex.h
--- a/sys/external/bsd/drm2/include/linux/ww_mutex.h    Sat Sep 13 00:32:36 2014 +0000
+++ b/sys/external/bsd/drm2/include/linux/ww_mutex.h    Sat Sep 13 00:33:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ww_mutex.h,v 1.5 2014/09/13 00:32:36 riastradh Exp $   */
+/*     $NetBSD: ww_mutex.h,v 1.6 2014/09/13 00:33:45 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,17 +29,6 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-/*
- * Notes on porting:
- *
- * - We require a context for all locks, so ww_mutex_lock(m, NULL) is
- *   not kosher.  Locking without a context is too painful to
- *   contemplate.
- *
- * - We require passing the context to trylock and unlock.  Unlocking
- *   the wrong lock is too serious an error to pass up detection.
- */
-
 #ifndef _ASM_WW_MUTEX_H_
 #define _ASM_WW_MUTEX_H_
 



Home | Main Index | Thread Index | Old Index