[tip: x86/cleanups] x86/mm: Fix typo in comment
From: tip-bot2 for You-Li Lin
Date: Wed Jul 01 2026 - 15:49:47 EST
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 324549c06eadc20c4ffcdcf808df2ba459c35ab1
Gitweb: https://git.kernel.org/tip/324549c06eadc20c4ffcdcf808df2ba459c35ab1
Author: You-Li Lin <lhu540507@xxxxxxxxx>
AuthorDate: Sat, 27 Jun 2026 13:13:43 +08:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 01 Jul 2026 12:43:45 -07: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>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
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);