mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
Kernel: Simplify dump_backtrace() API for clients.
It makes no sense that clients had to worry about whether or not KSyms were loaded.
This commit is contained in:
parent
7a2da54c07
commit
2f4e7edee5
Notes:
sideshowbarker
2024-07-19 14:07:00 +09:00
Author: https://github.com/awesomekling
Commit: 2f4e7edee5
6 changed files with 10 additions and 11 deletions
|
@ -53,7 +53,7 @@ private:
|
|||
{
|
||||
if (!are_interrupts_enabled()) {
|
||||
kprintf("Interrupts disabled when trying to take Lock{%s}\n", m_name);
|
||||
dump_backtrace(ksyms_ready);
|
||||
dump_backtrace();
|
||||
hang();
|
||||
}
|
||||
ASSERT(!Scheduler::is_active());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue