summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/common/sys
diff options
context:
space:
mode:
authorraf <none@none>2007-06-29 13:31:58 -0700
committerraf <none@none>2007-06-29 13:31:58 -0700
commit883492d5a933deb34cd27521e7f2756773cd27af (patch)
tree0c80cc8bc2b91d1882235f25cf28ef8ed0e4e6e3 /usr/src/lib/libc/common/sys
parentec4858345aa8c9134ae2563545c54823cd78b5c8 (diff)
downloadillumos-joyent-883492d5a933deb34cd27521e7f2756773cd27af.tar.gz
PSARC 2007/285 robust locks revisited
6296770 process robust mutexes should be much faster
Diffstat (limited to 'usr/src/lib/libc/common/sys')
-rw-r--r--usr/src/lib/libc/common/sys/syslwp.s18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/src/lib/libc/common/sys/syslwp.s b/usr/src/lib/libc/common/sys/syslwp.s
index 1b0cca505f..fda8f2625a 100644
--- a/usr/src/lib/libc/common/sys/syslwp.s
+++ b/usr/src/lib/libc/common/sys/syslwp.s
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -130,7 +130,7 @@
/*
* int
- * ___lwp_mutex_wakeup(lwp_mutex_t *mp)
+ * ___lwp_mutex_wakeup(lwp_mutex_t *mp, int)
*/
ENTRY(___lwp_mutex_wakeup)
SYSTRAP_RVAL1(lwp_mutex_wakeup)
@@ -238,10 +238,10 @@
/*
* int
- * ___lwp_mutex_init(lwp_mutex_t *mp, int type)
+ * ___lwp_mutex_register(lwp_mutex_t *mp)
*/
- ENTRY(___lwp_mutex_init)
- SYSTRAP_RVAL1(lwp_mutex_init)
+ ENTRY(___lwp_mutex_register)
+ SYSTRAP_RVAL1(lwp_mutex_register)
SYSLWPERR
RET
- SET_SIZE(___lwp_mutex_init)
+ SET_SIZE(___lwp_mutex_register)