diff options
| author | Merlin Scholz <merlin@scholz.ruhr> | 2023-05-10 23:37:37 +0200 |
|---|---|---|
| committer | Merlin Scholz <merlin@scholz.ruhr> | 2023-07-10 01:04:02 +0200 |
| commit | a91e9569a10890f293e4a79d49adcb5974243894 (patch) | |
| tree | a4c2941dc2bbd08c04bf7f29bb3615c2f5b4fce2 /sys/lockdoc/log.c | |
| parent | 12cb270286a5a5f0fc49c14b408a7f675d8e8f82 (diff) | |
Change asm logging to specify line -1 so that FAIL* doesn't replace it with NULL
Diffstat (limited to 'sys/lockdoc/log.c')
| -rw-r--r-- | sys/lockdoc/log.c | 4 |
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) { |
