2006-01-09 23:59:20 +00:00
|
|
|
#ifndef __LINUX_MUTEX_DEBUG_H
|
|
|
|
#define __LINUX_MUTEX_DEBUG_H
|
|
|
|
|
2006-01-10 05:38:23 +00:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
|
2006-01-09 23:59:20 +00:00
|
|
|
/*
|
|
|
|
* Mutexes - debugging helpers:
|
|
|
|
*/
|
|
|
|
|
2006-07-03 07:24:33 +00:00
|
|
|
#define __DEBUG_MUTEX_INITIALIZER(lockname) \
|
|
|
|
, .magic = &lockname
|
2006-01-09 23:59:20 +00:00
|
|
|
|
2006-07-03 07:24:33 +00:00
|
|
|
#define mutex_init(sem) __mutex_init(sem, __FILE__":"#sem)
|
2006-01-09 23:59:20 +00:00
|
|
|
|
|
|
|
extern void FASTCALL(mutex_destroy(struct mutex *lock));
|
|
|
|
|
|
|
|
#endif
|