x86: mmu: fix typo

Fix incorrect macro name in comment.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-12-09 10:12:10 -08:00 committed by Andrew Boie
parent 2a139ee95d
commit 6eabe20aee

View File

@ -45,7 +45,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
/* Bit position which is always zero in a PTE. We'll use the PAT bit.
* This helps disambiguate PTEs that do not have the Present bit set (MMU_P):
* - If the entire entry is zero, it's an un-mapped virtual page
* - If MMU_PTE_ZERO is set, we flipped this page due to KPTI
* - If PTE_ZERO is set, we flipped this page due to KPTI
* - Otherwise, this was a page-out
*/
#define PTE_ZERO MMU_PAT