xref: /linux/lib/locking-selftest-rlock.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #undef LOCK
2 #define LOCK		RL
3 
4 #undef UNLOCK
5 #define UNLOCK		RU
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