From a362a43899040a3848427c4d1f3bd1d3e53f46ec Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Sun, 26 Feb 2023 07:29:26 +0100 Subject: passing rsp from isr_stub, fixing panic() --- kernel/src/check/ubsan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel/src/check/ubsan.c') 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); } -- cgit v1.2.3