summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMerlin Scholz <merlin@scholz.ruhr>2023-05-10 23:37:37 +0200
committerMerlin Scholz <merlin@scholz.ruhr>2023-05-10 23:37:37 +0200
commit60aa12e10e5660e3c5fef9c6b8ac8ff54491df1c (patch)
tree14d78c7d45fe3578cd4f7fed0a1b269e4a08d4aa /sys
parent6561ddba4fc0dee43183997caf72d460814d61d6 (diff)
Change asm logging to specify line -1 so that FAIL* doesn't replace it with NULLlockdoc-9.3-0.6
Diffstat (limited to 'sys')
-rw-r--r--sys/lockdoc/log.c4
1 files 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) {