OpenCloudOS-Kernel/lib/locking-selftest-wlock.h

16 lines
197 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#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