xref: /freebsd/sys/sys/ck.h (revision 9768746b)
1 /*
2  * $FreeBSD$
3  */
4 #ifndef _SYS_CK_H_
5 #define _SYS_CK_H_
6 
7 #ifdef _KERNEL
8 #include <ck_queue.h>
9 #include <ck_epoch.h>
10 #else
11 #include <sys/queue.h>
12 #define CK_STAILQ_HEAD STAILQ_HEAD
13 #define CK_STAILQ_ENTRY STAILQ_ENTRY
14 #define CK_LIST_HEAD LIST_HEAD
15 #define CK_LIST_ENTRY LIST_ENTRY
16 #define CK_SLIST_HEAD SLIST_HEAD
17 #define CK_SLIST_ENTRY SLIST_ENTRY
18 #endif
19 
20 #endif /* !_SYS_CK_H_ */
21