[PATCH v2] x86/mm: Fix typo in comment
From: glc
Date: Sat Jun 27 2026 - 01:15:12 EST
From: You-Li Lin <lhu540507@xxxxxxxxx>
Fix "begining" to "beginning" in a code comment.
Signed-off-by: You-Li Lin <lhu540507@xxxxxxxxx>
---
arch/x86/mm/ident_map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/ident_map.c b/arch/x86/mm/ident_map.c
index bd5d101c5..5a15bffe6 100644
--- a/arch/x86/mm/ident_map.c
+++ b/arch/x86/mm/ident_map.c
@@ -111,7 +111,7 @@ static int ident_pud_init(struct x86_mapping_info *info, pud_t *pud_page,
use_gbpage = info->direct_gbpages;
/* Don't use gbpage if it maps more than the requested region. */
- /* at the begining: */
+ /* at the beginning: */
use_gbpage &= ((addr & ~PUD_MASK) == 0);
/* ... or at the end: */
use_gbpage &= ((next & ~PUD_MASK) == 0);
--
2.54.0