no need to keep brlock macros anymore...
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Oct 2013 18:19:39 +0000 (14:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:21 +0000 (00:16 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/lglock.h

index 0d24e932db0b62c97337069985f794276a455b83..96549abe88424d43f5b50d2b78cbe77de7b4607e 100644 (file)
 #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