aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-01-06 23:34:38 +0000
committerWarner Losh <imp@FreeBSD.org>2005-01-06 23:34:38 +0000
commit73108a16641e2d838fcb876858d4f64386f4ad0a (patch)
treecdddc2b7b5140a9e0de3dc982326dd4fed4845ca /sys
parent7302042943e173ae6ae882e03a3fe84d79aed5c9 (diff)
downloadsrc-73108a16641e2d838fcb876858d4f64386f4ad0a.tar.gz
src-73108a16641e2d838fcb876858d4f64386f4ad0a.zip
Expand COPYRIGHT inline, per Matthew Dillon's earlier approval.
Notes
Notes: svn path=/head/; revision=139803
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_mtxpool.c28
1 files changed, 24 insertions, 4 deletions
diff --git a/sys/kern/kern_mtxpool.c b/sys/kern/kern_mtxpool.c
index 468cdb14822c..9e64a620edc1 100644
--- a/sys/kern/kern_mtxpool.c
+++ b/sys/kern/kern_mtxpool.c
@@ -1,9 +1,29 @@
/*-
- * Copyright (c) 2001 Matthew Dillon. All Rights Reserved. Copyright
- * terms are as specified in the COPYRIGHT file at the base of the source
- * tree.
+ * Copyright (c) 2001 Matthew Dillon. All Rights Reserved.
*
- * Mutex pool routines. These routines are designed to be used as short
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+/* Mutex pool routines. These routines are designed to be used as short
* term leaf mutexes (e.g. the last mutex you might aquire other then
* calling msleep()). They operate using a shared pool. A mutex is chosen
* from the pool based on the supplied pointer (which may or may not be