diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-26 07:29:26 +0100 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-26 07:39:55 +0100 |
| commit | a362a43899040a3848427c4d1f3bd1d3e53f46ec (patch) | |
| tree | 3255f10f358ab2dba1555a45a91950d185d397f7 /kernel/src/check/ubsan.c | |
| parent | 40eecaecc552945f72a2b90f4122bf929960671c (diff) | |
passing rsp from isr_stub, fixing panic()
Diffstat (limited to 'kernel/src/check/ubsan.c')
| -rw-r--r-- | kernel/src/check/ubsan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/src/check/ubsan.c b/kernel/src/check/ubsan.c index eb7721e..851d920 100644 --- a/kernel/src/check/ubsan.c +++ b/kernel/src/check/ubsan.c @@ -49,8 +49,7 @@ ubsan_abort(const struct ubsan_source_location *location, const char *violation) if (!location || !location->filename) location = &unknown_location; - panic_rsp = 0; - panic("filename = %s; line = %d; column = %d; violation = %s;\n", + panic(0, "filename = %s; line = %d; column = %d; violation = %s;\n", location->filename, location->line, location->column, violation); } |
