1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 06:55:07 +00:00

Kernel: Suppress clang-tidy warning on declaration of s_mm_lock

Seems we are declaring this guy as extern RecursiveSpinLock s_mm_lock;
in both Thread.h and MemoryManager.h. Smells funny for sure.
This commit is contained in:
Andrew Kaster 2021-10-31 16:43:03 -06:00 committed by Andreas Kling
parent 542640e766
commit fff265a9a9

View file

@ -100,6 +100,7 @@ struct MemoryManagerData {
PhysicalAddress m_last_quickmap_pt;
};
// NOLINTNEXTLINE(readability-redundant-declaration) FIXME: Why do we declare this here *and* in Thread.h?
extern RecursiveSpinlock s_mm_lock;
// This class represents a set of committed physical pages.