summaryrefslogtreecommitdiffstats
path: root/include/linux/spinlock_api_up.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-01-02 23:00:19 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-03 14:32:57 -0500
commit113948d841e8d78039e5dbbb5248f5b73e99eafa (patch)
treedd83aa9e9cc3d6cae386afa57dad4046df7e33bd /include/linux/spinlock_api_up.h
parent897362e446436d245972e72c6bc5b33bd7a5c659 (diff)
downloadblackbird-obmc-linux-113948d841e8d78039e5dbbb5248f5b73e99eafa.tar.gz
blackbird-obmc-linux-113948d841e8d78039e5dbbb5248f5b73e99eafa.zip
spinlock: Add spin_lock_bh_nested()
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/spinlock_api_up.h')
-rw-r--r--include/linux/spinlock_api_up.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spinlock_api_up.h b/include/linux/spinlock_api_up.h
index d0d188861ad6..d3afef9d8dbe 100644
--- a/include/linux/spinlock_api_up.h
+++ b/include/linux/spinlock_api_up.h
@@ -57,6 +57,7 @@
#define _raw_spin_lock(lock) __LOCK(lock)
#define _raw_spin_lock_nested(lock, subclass) __LOCK(lock)
+#define _raw_spin_lock_bh_nested(lock, subclass) __LOCK(lock)
#define _raw_read_lock(lock) __LOCK(lock)
#define _raw_write_lock(lock) __LOCK(lock)
#define _raw_spin_lock_bh(lock) __LOCK_BH(lock)
OpenPOWER on IntegriCloud