summaryrefslogtreecommitdiff
path: root/tools/include/linux/debug_locks.h
blob: 61cc7f501168b3bada61603d6be62d1d148647e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_
#define _LIBLOCKDEP_DEBUG_LOCKS_H_

#include <stddef.h>
#include <linux/compiler.h>
#include <asm/bug.h>

#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x)

extern bool debug_locks;
extern bool debug_locks_silent;

#endif