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