diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-25 19:23:39 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-25 19:36:36 +0100 |
commit | 8eeb8db2ed4a8fa915c4ade39e079546e070e92f (patch) | |
tree | 792dbc941af6e6a6ae9e2b4192c71442e0cf8cc2 /Kernel/Arch/i386 | |
parent | 0c4fbcae7679a68869350501fd0de132c020cf8c (diff) | |
download | serenity-8eeb8db2ed4a8fa915c4ade39e079546e070e92f.zip |
Kernel: Don't disable interrupts while dealing with a process crash
This was necessary in the past when crash handling would modify
various global things, but all that stuff is long gone so we can
simplify crashes by leaving the interrupt flag alone.
Diffstat (limited to 'Kernel/Arch/i386')
-rw-r--r-- | Kernel/Arch/i386/CPU.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index 9d745fbae1..03cbdc7e33 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -169,7 +169,6 @@ void handle_crash(RegisterState& regs, const char* description, int signal, bool PANIC("Crash in ring 0"); } - cli(); process->crash(signal, regs.eip, out_of_memory); } |