summaryrefslogtreecommitdiffstats
path: root/include/linux/mutex.h
blob: de698dbc4fe23aa54540fb662c118a1f5a0c4cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Mutexes: blocking mutual exclusion locks
 *
 * started by Ingo Molnar:
 *
 *  Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com>
 *
 * This file contains the main data structure and API definitions.
 */
#ifndef __LINUX_MUTEX_H
#define __LINUX_MUTEX_H

#define mutex_init(...)
#define mutex_lock(...)
#define mutex_unlock(...)
#define mutex_lock_nested(...)
#define mutex_unlock_nested(...)
#define mutex_is_locked(...)	0
struct mutex { int i; };

#endif /* __LINUX_MUTEX_H */