diff options
Diffstat (limited to 'sys/lockdoc/log.c')
| -rw-r--r-- | sys/lockdoc/log.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/lockdoc/log.c b/sys/lockdoc/log.c index 91d2a8d02cb..52d5115da41 100644 --- a/sys/lockdoc/log.c +++ b/sys/lockdoc/log.c @@ -1,22 +1,18 @@ #include <arch/x86/include/cpufunc.h> #include <sys/lockdoc.h> -#include "opt_lockdebug.h" - -#ifdef LOCKDEBUG +#ifdef LOCKDOC struct log_action la_buffer; void __x86_disable_intr(const char *file, int line, const char *func){ // TODO Actually log things lockdoc_x86_disable_intr(); - __asm __volatile("cli" : : : "memory"); } void __x86_enable_intr(const char *file, int line, const char *func){ // TODO Actually log things lockdoc_x86_enable_intr(); - __asm __volatile ("sti" ::: "memory"); } -#endif /* LOCKDEBUG */
\ No newline at end of file +#endif /* LOCKDOC */
\ No newline at end of file |
