huawei-mrd-kernel/lib/locking-selftest-rlock.h

14 lines
158 B
C

#undef LOCK
#define LOCK RL
#undef UNLOCK
#define UNLOCK RU
#undef RLOCK
#define RLOCK RL
#undef WLOCK
#define WLOCK WL
#undef INIT
#define INIT RWI