mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 05:30:54 +07:00
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>
24 lines
442 B
C
24 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
|