Skip to content

Commit fff265a

Browse files
ADKasterawesomekling
authored andcommitted
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.
1 parent 542640e commit fff265a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Kernel/Memory/MemoryManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ struct MemoryManagerData {
100100
PhysicalAddress m_last_quickmap_pt;
101101
};
102102

103+
// NOLINTNEXTLINE(readability-redundant-declaration) FIXME: Why do we declare this here *and* in Thread.h?
103104
extern RecursiveSpinlock s_mm_lock;
104105

105106
// This class represents a set of committed physical pages.

0 commit comments

Comments
 (0)