summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Arch/aarch64/Processor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/Processor.cpp b/Kernel/Arch/aarch64/Processor.cpp
index e4252782a8..54f582d754 100644
--- a/Kernel/Arch/aarch64/Processor.cpp
+++ b/Kernel/Arch/aarch64/Processor.cpp
@@ -34,6 +34,7 @@ void Processor::initialize(u32 cpu)
[[noreturn]] void Processor::halt()
{
+ disable_interrupts();
for (;;)
asm volatile("wfi");
}