rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #undef LOCK | ||||
3 | #define LOCK RL | ||||
4 | |||||
5 | #undef UNLOCK | ||||
6 | #define UNLOCK RU | ||||
7 | |||||
8 | #undef RLOCK | ||||
9 | #define RLOCK RL | ||||
10 | |||||
11 | #undef WLOCK | ||||
12 | #define WLOCK WL | ||||
13 | |||||
14 | #undef INIT | ||||
15 | #define INIT RWI |