mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +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:
parent
542640e766
commit
fff265a9a9
Notes:
sideshowbarker
2024-07-18 01:06:58 +09:00
Author: https://github.com/ADKaster
Commit: fff265a9a9
Pull-request: https://github.com/SerenityOS/serenity/pull/10737
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/PeterBindels-TomTom
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/dascandy
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue