cregit-Linux how code gets into the kernel

Release 4.7 include/linux/mutex-debug.h

Directory: include/linux
#ifndef __LINUX_MUTEX_DEBUG_H

#define __LINUX_MUTEX_DEBUG_H

#include <linux/linkage.h>
#include <linux/lockdep.h>
#include <linux/debug_locks.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

Overall Contributors

PersonTokensPropCommitsCommitProp
ingo molnaringo molnar3375.00%350.00%
harvey harrisonharvey harrison511.36%116.67%
maarten lankhorstmaarten lankhorst36.82%116.67%
david s. millerdavid s. miller36.82%116.67%
Total44100.00%6100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}