diff options
author | 2017-01-09 10:26:52 -0500 | |
---|---|---|
committer | 2017-01-12 09:33:39 +0100 | |
commit | 607904c357c61adf20b8fd18af765e501d61a385 (patch) | |
tree | 5910281e8003d67f084842c1b39965fcf4564602 /include/linux/spinlock_api_up.h | |
parent | Merge branch 'akpm' (patches from Andrew) (diff) | |
download | linux-607904c357c61adf20b8fd18af765e501d61a385.tar.gz linux-607904c357c61adf20b8fd18af765e501d61a385.tar.bz2 linux-607904c357c61adf20b8fd18af765e501d61a385.zip |
locking/spinlocks: Remove the unused spin_lock_bh_nested() API
The spin_lock_bh_nested() API is defined but is not used anywhere
in the kernel. So all spin_lock_bh_nested() and related APIs are
now removed.
Signed-off-by: Waiman Long <longman@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1483975612-16447-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/spinlock_api_up.h')
-rw-r--r-- | include/linux/spinlock_api_up.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/spinlock_api_up.h b/include/linux/spinlock_api_up.h index d3afef9d8dbe..d0d188861ad6 100644 --- a/include/linux/spinlock_api_up.h +++ b/include/linux/spinlock_api_up.h @@ -57,7 +57,6 @@ #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) |