[tip: x86/urgent] x86/mm: Fix typo in comment
From: tip-bot2 for You-Li Lin
Date: Sun Jun 28 2026 - 05:10:46 EST
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 9c1915e5438515b17ec85d4afa35c2f73faf2d72
Gitweb: https://git.kernel.org/tip/9c1915e5438515b17ec85d4afa35c2f73faf2d72
Author: You-Li Lin <lhu540507@xxxxxxxxx>
AuthorDate: Sat, 27 Jun 2026 13:13:43 +08:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Sun, 28 Jun 2026 11:06:19 +02:00
x86/mm: Fix typo in comment
Fix "begining" to "beginning" in a code comment.
Signed-off-by: You-Li Lin <lhu540507@xxxxxxxxx>
Acked-by: Borislav Petkov <bp@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://patch.msgid.link/20260627051343.51326-1-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 bd5d101..5a15bff 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);