diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-01-27 16:22:56 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-03 07:57:32 +0100 |
commit | 7814ae61ab60837e385359c266363d4ce962d4dd (patch) | |
tree | 9aee7c77cfe1b5390c9021df9389975fb490e34d /include/linux/mutex.h | |
parent | baa7fe1d15606e08ee9da1c21b987eca5072a421 (diff) | |
download | barebox-7814ae61ab60837e385359c266363d4ce962d4dd.tar.gz barebox-7814ae61ab60837e385359c266363d4ce962d4dd.tar.xz |
Introduce include/linux/mutex.h
Move mutex related defines to its original place.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/mutex.h')
-rw-r--r-- | include/linux/mutex.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h new file mode 100644 index 0000000000..a84085cab2 --- /dev/null +++ b/include/linux/mutex.h @@ -0,0 +1,18 @@ +/* + * 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(...) +struct mutex { int i; }; + +#endif /* __LINUX_MUTEX_H */ |