summaryrefslogtreecommitdiff
path: root/include/linux/lglock.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-05 22:19:39 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 09:16:21 +0400
commit0f6ed63b170778b9c93fb0ae4017f110c9ee6416 (patch)
treecd8378d793b478000df6390f1f47152a4840cfa1 /include/linux/lglock.h
parent11d100d9a291508be5a5bae1ddf92ea2ba9b8f0c (diff)
downloadlinux-0f6ed63b170778b9c93fb0ae4017f110c9ee6416.tar.xz
no need to keep brlock macros anymore...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/lglock.h')
-rw-r--r--include/linux/lglock.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/lglock.h b/include/linux/lglock.h
index 0d24e932db0b..96549abe8842 100644
--- a/include/linux/lglock.h
+++ b/include/linux/lglock.h
@@ -25,16 +25,6 @@
#include <linux/cpu.h>
#include <linux/notifier.h>
-/* can make br locks by using local lock for read side, global lock for write */
-#define br_lock_init(name) lg_lock_init(name, #name)
-#define br_read_lock(name) lg_local_lock(name)
-#define br_read_unlock(name) lg_local_unlock(name)
-#define br_write_lock(name) lg_global_lock(name)
-#define br_write_unlock(name) lg_global_unlock(name)
-
-#define DEFINE_BRLOCK(name) DEFINE_LGLOCK(name)
-#define DEFINE_STATIC_BRLOCK(name) DEFINE_STATIC_LGLOCK(name)
-
#ifdef CONFIG_DEBUG_LOCK_ALLOC
#define LOCKDEP_INIT_MAP lockdep_init_map
#else