summaryrefslogtreecommitdiffstats
path: root/tools/testing/memblock/linux/mutex.h
blob: ae3f497165d6a886eac094827a5ff272eb518734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _MUTEX_H
#define _MUTEX_H

#define DEFINE_MUTEX(name) int name

static inline void dummy_mutex_guard(int *name)
{
}

#define guard(mutex)	\
	dummy_##mutex##_guard

#endif /* _MUTEX_H */