Module Name: src
Committed By: riastradh
Date: Sat Sep 13 00:33:45 UTC 2014
Modified Files:
src/sys/external/bsd/drm2/include/linux: ww_mutex.h
Log Message:
Omit vestigial notes on porting before the API was made to match.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/include/linux/ww_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/external/bsd/drm2/include/linux/ww_mutex.h
diff -u src/sys/external/bsd/drm2/include/linux/ww_mutex.h:1.5 src/sys/external/bsd/drm2/include/linux/ww_mutex.h:1.6
--- src/sys/external/bsd/drm2/include/linux/ww_mutex.h:1.5 Sat Sep 13 00:32:36 2014
+++ src/sys/external/bsd/drm2/include/linux/ww_mutex.h Sat Sep 13 00:33:45 2014
@@ -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_