kern: remove per-KInterruptEventTask locks

This commit is contained in:
Michael Scire 2021-09-17 15:34:24 -07:00 committed by SciresM
parent e6a6fe6f38
commit 29cc3d1c09
2 changed files with 9 additions and 12 deletions

View file

@ -48,13 +48,10 @@ namespace ams::kern {
class KInterruptEventTask : public KSlabAllocated<KInterruptEventTask>, public KInterruptTask {
private:
KInterruptEvent *m_event;
KLightLock m_lock;
public:
constexpr KInterruptEventTask() : m_event(nullptr), m_lock() { /* ... */ }
constexpr KInterruptEventTask() : m_event(nullptr) { /* ... */ }
~KInterruptEventTask() { /* ... */ }
KLightLock &GetLock() { return m_lock; }
virtual KInterruptTask *OnInterrupt(s32 interrupt_id) override;
virtual void DoTask() override;