diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-08-18 21:46:28 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-08-19 20:26:47 -0700 |
commit | 4314c25cf2a60f7692821b10a6e759d24ae1a1b6 (patch) | |
tree | 8b6e9c7a58afdca56b7ae02d324433884b8687da /Kernel/Graphics/VMWare | |
parent | 4809dc8ec28b8573b250a112b9a7dae4cde10e86 (diff) | |
download | serenity-4314c25cf2a60f7692821b10a6e759d24ae1a1b6.zip |
Kernel: Require lock rank for Spinlock construction
All users which relied on the default constructor use a None lock rank
for now. This will make it easier to in the future remove LockRank and
actually annotate the ranks by searching for None.
Diffstat (limited to 'Kernel/Graphics/VMWare')
-rw-r--r-- | Kernel/Graphics/VMWare/GraphicsAdapter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Graphics/VMWare/GraphicsAdapter.h b/Kernel/Graphics/VMWare/GraphicsAdapter.h index 212298d975..9ef605c6d9 100644 --- a/Kernel/Graphics/VMWare/GraphicsAdapter.h +++ b/Kernel/Graphics/VMWare/GraphicsAdapter.h @@ -51,8 +51,8 @@ private: Memory::TypedMapping<volatile VMWareDisplayFIFORegisters> m_fifo_registers; RefPtr<VMWareDisplayConnector> m_display_connector; const IOAddress m_io_registers_base; - mutable Spinlock m_io_access_lock; - mutable RecursiveSpinlock m_operation_lock; + mutable Spinlock m_io_access_lock { LockRank::None }; + mutable RecursiveSpinlock m_operation_lock { LockRank::None }; }; } |