[NTOS:MM] Improve an ASSERT

This commit is contained in:
Timo Kreuzer
2021-06-19 12:17:18 +02:00
parent 33949028fb
commit 396167bc7e
+1 -1
View 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));