mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	no need to keep brlock macros anymore...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
		
							parent
							
								
									11d100d9a2
								
							
						
					
					
						commit
						0f6ed63b17
					
				
					 1 changed files with 0 additions and 10 deletions
				
			
		| 
						 | 
					@ -25,16 +25,6 @@
 | 
				
			||||||
#include <linux/cpu.h>
 | 
					#include <linux/cpu.h>
 | 
				
			||||||
#include <linux/notifier.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
 | 
					#ifdef CONFIG_DEBUG_LOCK_ALLOC
 | 
				
			||||||
#define LOCKDEP_INIT_MAP lockdep_init_map
 | 
					#define LOCKDEP_INIT_MAP lockdep_init_map
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue