blob: 72d595ce764ae98ad4f18c12578618e085e87ca5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sasha Levin5634bd72013-06-13 18:41:17 -04002#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_
3#define _LIBLOCKDEP_DEBUG_LOCKS_H_
4
5#include <stddef.h>
6#include <linux/compiler.h>
Levin, Alexander (Sasha Levin)e58e8712017-05-31 00:38:09 +00007#include <asm/bug.h>
Sasha Levin5634bd72013-06-13 18:41:17 -04008
Ben Hutchingsbb7ea2a2017-05-25 12:58:37 +00009#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x)
Sasha Levin5634bd72013-06-13 18:41:17 -040010
11extern bool debug_locks;
12extern bool debug_locks_silent;
13
14#endif