2013-06-13 18:41:17 -04:00
|
|
|
#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_
|
|
|
|
|
#define _LIBLOCKDEP_DEBUG_LOCKS_H_
|
|
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
#include <linux/compiler.h>
|
2017-05-31 00:38:09 +00:00
|
|
|
#include <asm/bug.h>
|
2013-06-13 18:41:17 -04:00
|
|
|
|
2017-05-25 12:58:37 +00:00
|
|
|
#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x)
|
2013-06-13 18:41:17 -04:00
|
|
|
|
|
|
|
|
extern bool debug_locks;
|
|
|
|
|
extern bool debug_locks_silent;
|
|
|
|
|
|
|
|
|
|
#endif
|