Linux-6.18.2/tools/testing/memblock/linux/mutex.h
2025-12-23 20:06:59 +08:00

14 lines
232 B
C

/* 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 */