summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/jffs2/include/linux/mutex.h
blob: f5e1efb1aff1a0002a9e19dd516af32c655d4fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __LINUX_MUTEX_H
#define __LINUX_MUTEX_H

struct mutex { };

#define DEFINE_MUTEX(m) struct mutex m

static inline void mutex_init(struct mutex *m)
{
	(void) m;
}

static inline void mutex_lock(struct mutex *m)
{
	(void) m;
}

static inline int mutex_lock_interruptible(struct mutex *m)
{
	(void) m;
	return 0;
}

static inline void mutex_unlock(struct mutex *m)
{
	(void) m;
}

#endif