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