Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_
3#define _LIBLOCKDEP_DEBUG_LOCKS_H_
4
5#include <stddef.h>
6#include <linux/compiler.h>
7#include <asm/bug.h>
8
9#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x)
10
11extern bool debug_locks;
12extern bool debug_locks_silent;
13
14#endif
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_
3#define _LIBLOCKDEP_DEBUG_LOCKS_H_
4
5#include <stddef.h>
6#include <linux/compiler.h>
7#include <asm/bug.h>
8
9#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x)
10
11extern bool debug_locks;
12extern bool debug_locks_silent;
13
14#endif