[NTOS:MM] Improve an ASSERT

This commit is contained in:
Timo Kreuzer 2021-06-10 08:38:13 +02:00
parent 33949028fb
commit 396167bc7e

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));