mirror of https://gitee.com/openkylin/linux.git
15 lines
158 B
C
15 lines
158 B
C
|
#undef LOCK
|
||
|
#define LOCK WL
|
||
|
|
||
|
#undef UNLOCK
|
||
|
#define UNLOCK WU
|
||
|
|
||
|
#undef RLOCK
|
||
|
#define RLOCK RL
|
||
|
|
||
|
#undef WLOCK
|
||
|
#define WLOCK WL
|
||
|
|
||
|
#undef INIT
|
||
|
#define INIT RWI
|