summaryrefslogblamecommitdiff
path: root/include/linux/mutex-debug.h
blob: 70a26091fc73f7fb942d189a56bea557efe18d6a (plain) (tree)
1
2
3
4
5
6
7
8
9


                             

                          



                               

                                                                         
 
                                                                  


                                                        
      
#ifndef __LINUX_MUTEX_DEBUG_H
#define __LINUX_MUTEX_DEBUG_H

#include <linux/linkage.h>

/*
 * Mutexes - debugging helpers:
 */

#define __DEBUG_MUTEX_INITIALIZER(lockname)				\
	, .magic = &lockname

#define mutex_init(sem)		__mutex_init(sem, __FILE__":"#sem)

extern void FASTCALL(mutex_destroy(struct mutex *lock));

#endif