]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - tools/lib/lockdep/tests/common.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / tools / lib / lockdep / tests / common.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
878f968e
SL
2#ifndef _LIBLOCKDEP_TEST_COMMON_H
3#define _LIBLOCKDEP_TEST_COMMON_H
4
5#define LOCK_UNLOCK_2(a, b) \
6 do { \
7 pthread_mutex_lock(&(a)); \
8 pthread_mutex_lock(&(b)); \
9 pthread_mutex_unlock(&(b)); \
10 pthread_mutex_unlock(&(a)); \
11 } while(0)
12
13#endif