Skip to content

Commit 3c90238

Browse files
bulwahnhansendc
authored andcommitted
x86/its: Fix an ifdef typo in its_alloc()
Commit a82b264 ("x86/its: explicitly manage permissions for ITS pages") reworks its_alloc() and introduces a typo in an ifdef conditional, referring to CONFIG_MODULE instead of CONFIG_MODULES. Fix this typo in its_alloc(). Fixes: a82b264 ("x86/its: explicitly manage permissions for ITS pages") Signed-off-by: Lukas Bulwahn <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/all/20250616100432.22941-1-lukas.bulwahn%40redhat.com
1 parent 94a17f2 commit 3c90238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/alternative.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void *its_alloc(void)
228228
struct its_array *pages = &its_pages;
229229
void *page;
230230

231-
#ifdef CONFIG_MODULE
231+
#ifdef CONFIG_MODULES
232232
if (its_mod)
233233
pages = &its_mod->arch.its_pages;
234234
#endif

0 commit comments

Comments
 (0)