xref: /linux/lib/locking-selftest-wlock.h (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1 #undef LOCK
2 #define LOCK		WL
3 
4 #undef UNLOCK
5 #define UNLOCK		WU
6 
7 #undef RLOCK
8 #define RLOCK		RL
9 
10 #undef WLOCK
11 #define WLOCK		WL
12 
13 #undef INIT
14 #define INIT		RWI
15