summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock.h
blob: 0bc51c8cf3c5845072e1ec6c59dcfa7078a49079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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