kernel/lib/locking-selftest-wlock.h
2024-07-22 17:22:30 +08:00

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