debug_locks.h 288 B

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