From 60aa12e10e5660e3c5fef9c6b8ac8ff54491df1c Mon Sep 17 00:00:00 2001 From: Merlin Scholz Date: Wed, 10 May 2023 23:37:37 +0200 Subject: Change asm logging to specify line -1 so that FAIL* doesn't replace it with NULL --- sys/lockdoc/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/lockdoc/log.c b/sys/lockdoc/log.c index e0f832e02e6..b06c3232e1f 100644 --- a/sys/lockdoc/log.c +++ b/sys/lockdoc/log.c @@ -120,7 +120,7 @@ void __trace_irqs_on_check(int tf_eflags, const char *file, int line) { /* Since we cannot use the C DEFINES in interrupt handling asm routines */ void __trace_irqs_on_asm(void) { - __trace_irqs_on("dummy", 0); + __trace_irqs_on("asm", -1); } void __trace_irqs_off(const char *file, int line) { @@ -137,7 +137,7 @@ void __trace_irqs_off_check(int tf_eflags, const char *file, int line) { /* Since we cannot use the C DEFINES in interrupt handling asm routines */ void __trace_irqs_off_asm(void) { - __trace_irqs_off("asm", 0); + __trace_irqs_off("asm", -1); } int32_t lockdoc_get_ctx(void) { -- cgit