xref: /linux/lib/locking-selftest-rlock.h (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
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