Initial commit linux kernel 2.6.33

This commit is contained in:
Angell Fear
2010-09-03 00:00:59 +06:00
commit 464e36dc43
31556 changed files with 12908964 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#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