summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-10-02 10:11:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-08 08:36:58 +0200
commit3f0e6a07da363d89129bcf483709050f8a202f80 (patch)
tree1bbc686bc4372cbc7ad9a614706410ffc94d4dea /include/linux
parentd99f10db6da95af5d878866c3504fdb5b774e068 (diff)
downloadbarebox-3f0e6a07da363d89129bcf483709050f8a202f80.tar.gz
barebox-3f0e6a07da363d89129bcf483709050f8a202f80.tar.xz
Add more mutex no-ops
Add mutex_lock_nested, mutex_unlock_nested and mutex_is_locked to include/linux/mutex.h and remove them from UBIFS. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h
index a84085cab2..de698dbc4f 100644
--- a/include/linux/mutex.h
+++ b/include/linux/mutex.h
@@ -13,6 +13,9 @@
#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 */