diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-02 10:11:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-08 08:36:58 +0200 |
commit | 3f0e6a07da363d89129bcf483709050f8a202f80 (patch) | |
tree | 1bbc686bc4372cbc7ad9a614706410ffc94d4dea /include/linux | |
parent | d99f10db6da95af5d878866c3504fdb5b774e068 (diff) | |
download | barebox-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.h | 3 |
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 */ |