From 6eabe20aeeeb08ef5a4a8df3a83c331f88b23399 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Wed, 9 Dec 2020 10:12:10 -0800 Subject: [PATCH] x86: mmu: fix typo Fix incorrect macro name in comment. Signed-off-by: Andrew Boie --- arch/x86/core/x86_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/core/x86_mmu.c b/arch/x86/core/x86_mmu.c index 70e346f6178..7f15109c483 100644 --- a/arch/x86/core/x86_mmu.c +++ b/arch/x86/core/x86_mmu.c @@ -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