From 48ea9e1c1d2c97714e724a786b8b026d329592be Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 15 Mar 2024 13:45:44 +0200 Subject: [PATCH] Kernel: PS2Controller uses RecursiveSpinLock so timeouts don't panic --- kernel/include/kernel/Input/PS2/Controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/include/kernel/Input/PS2/Controller.h b/kernel/include/kernel/Input/PS2/Controller.h index 120a84a8d0..c620ddcbd3 100644 --- a/kernel/include/kernel/Input/PS2/Controller.h +++ b/kernel/include/kernel/Input/PS2/Controller.h @@ -64,7 +64,7 @@ namespace Kernel::Input BAN::CircularQueue m_command_queue; uint64_t m_command_send_time { 0 }; - SpinLock m_command_lock; + RecursiveSpinLock m_command_lock; }; }