]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - lib/locking-selftest-wsem.h
idr: Fix idr_alloc_u32 on 32-bit systems
[mirror_ubuntu-bionic-kernel.git] / lib / locking-selftest-wsem.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef LOCK
3 #define LOCK WSL
4
5 #undef UNLOCK
6 #define UNLOCK WSU
7
8 #undef RLOCK
9 #define RLOCK RSL
10
11 #undef WLOCK
12 #define WLOCK WSL
13
14 #undef INIT
15 #define INIT RWSI