diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 16:43:24 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-16 02:19:38 +0200 |
commit | 801c2c0f473a09262f4c15ed2892b1dfd638fc72 (patch) | |
tree | 314d0a374cb6c1715b111697853013aaa30ed8b6 /kern/slab.h | |
parent | 3b7d2320a0ed2e9067f724cfec658bd43e4bd65e (diff) |
kern: disable the simple lock checks while debugging
* kern/lock.c (do_check_simple_locks): New variable.
(check_simple_locks): Make check conditional.
(check_simple_locks_{en,dis}able): New functions.
* kern/lock.h (check_simple_locks_{en,dis}able): New declarations.
* ddb/db_trap.c (db_task_trap): Disable simple lock checks.
Diffstat (limited to 'kern/slab.h')
0 files changed, 0 insertions, 0 deletions