forked from mirrors/linux
		
	 b3c9752868
			
		
	
	
		b3c9752868
		
	
	
	
	
		
			
			FASTCALL() is always expanded to empty, remove it. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __LINUX_MUTEX_DEBUG_H
 | |
| #define __LINUX_MUTEX_DEBUG_H
 | |
| 
 | |
| #include <linux/linkage.h>
 | |
| #include <linux/lockdep.h>
 | |
| 
 | |
| /*
 | |
|  * Mutexes - debugging helpers:
 | |
|  */
 | |
| 
 | |
| #define __DEBUG_MUTEX_INITIALIZER(lockname)				\
 | |
| 	, .magic = &lockname
 | |
| 
 | |
| #define mutex_init(mutex)						\
 | |
| do {									\
 | |
| 	static struct lock_class_key __key;				\
 | |
| 									\
 | |
| 	__mutex_init((mutex), #mutex, &__key);				\
 | |
| } while (0)
 | |
| 
 | |
| extern void mutex_destroy(struct mutex *lock);
 | |
| 
 | |
| #endif
 |