xref: /titanic_51/usr/src/lib/libfakekernel/common/sys/ksynch.h (revision b819cea2f73f98c5662230cc9affc8cc84f77fcf)
1*b819cea2SGordon Ross /*
2*b819cea2SGordon Ross  * CDDL HEADER START
3*b819cea2SGordon Ross  *
4*b819cea2SGordon Ross  * The contents of this file are subject to the terms of the
5*b819cea2SGordon Ross  * Common Development and Distribution License, Version 1.0 only
6*b819cea2SGordon Ross  * (the "License").  You may not use this file except in compliance
7*b819cea2SGordon Ross  * with the License.
8*b819cea2SGordon Ross  *
9*b819cea2SGordon Ross  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*b819cea2SGordon Ross  * or http://www.opensolaris.org/os/licensing.
11*b819cea2SGordon Ross  * See the License for the specific language governing permissions
12*b819cea2SGordon Ross  * and limitations under the License.
13*b819cea2SGordon Ross  *
14*b819cea2SGordon Ross  * When distributing Covered Code, include this CDDL HEADER in each
15*b819cea2SGordon Ross  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*b819cea2SGordon Ross  * If applicable, add the following below this CDDL HEADER, with the
17*b819cea2SGordon Ross  * fields enclosed by brackets "[]" replaced with your own identifying
18*b819cea2SGordon Ross  * information: Portions Copyright [yyyy] [name of copyright owner]
19*b819cea2SGordon Ross  *
20*b819cea2SGordon Ross  * CDDL HEADER END
21*b819cea2SGordon Ross  */
22*b819cea2SGordon Ross /*
23*b819cea2SGordon Ross  *	Copyright (c) 1991, Sun Microsystems, Inc.
24*b819cea2SGordon Ross  */
25*b819cea2SGordon Ross /*
26*b819cea2SGordon Ross  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
27*b819cea2SGordon Ross  */
28*b819cea2SGordon Ross 
29*b819cea2SGordon Ross /*
30*b819cea2SGordon Ross  * DKI/DDI MT synchronization primitives.
31*b819cea2SGordon Ross  */
32*b819cea2SGordon Ross 
33*b819cea2SGordon Ross #ifndef _SYS_KSYNCH_H
34*b819cea2SGordon Ross #define	_SYS_KSYNCH_H
35*b819cea2SGordon Ross 
36*b819cea2SGordon Ross /*
37*b819cea2SGordon Ross  * Include the _real_ sys/sync.h to get the _lwp_... types
38*b819cea2SGordon Ross  */
39*b819cea2SGordon Ross #include <sys/synch.h>
40*b819cea2SGordon Ross 
41*b819cea2SGordon Ross /*
42*b819cea2SGordon Ross  * Lots of kernel headers we might want to use may
43*b819cea2SGordon Ross  * directly include sys/t_lock.h so provide a fake
44*b819cea2SGordon Ross  * that redirects to our shim.
45*b819cea2SGordon Ross  */
46*b819cea2SGordon Ross #include <sys/t_lock.h>
47*b819cea2SGordon Ross 
48*b819cea2SGordon Ross #endif	/* _SYS_KSYNCH_H */
49