https://git.reactos.org/?p=reactos.git;a=commitdiff;h=396167bc7e52fae3901f2…
commit 396167bc7e52fae3901f27e7f00fd019ea6b5dc4
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Thu Jun 10 08:38:13 2021 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Jun 19 12:17:18 2021 +0200
[NTOS:MM] Improve an ASSERT
---
ntoskrnl/mm/ARM3/virtual.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/mm/ARM3/virtual.c b/ntoskrnl/mm/ARM3/virtual.c
index 0910d080542..9cb0cacf23b 100644
--- a/ntoskrnl/mm/ARM3/virtual.c
+++ b/ntoskrnl/mm/ARM3/virtual.c
@@ -2412,7 +2412,7 @@ MiProtectVirtualMemory(IN PEPROCESS Process,
MI_WRITE_INVALID_PTE(PointerPte, PteContents);
#ifdef CONFIG_SMP
// FIXME: Should invalidate entry in every CPU TLB
- ASSERT(FALSE);
+ ASSERT(KeNumberProcessors == 1);
#endif
KeInvalidateTlbEntry(MiPteToAddress(PointerPte));