[NTOS:MM] Improve an ASSERT
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 10 Jun 2021 06:38:13 +0000 (08:38 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 19 Jun 2021 10:17:18 +0000 (12:17 +0200)
ntoskrnl/mm/ARM3/virtual.c

index 0910d08..9cb0cac 100644 (file)
@@ -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));