x86/its: fix an ifdef typo in its_alloc()
Subsystems (2)
PATCH 1/1 x86/its: fix an ifdef typo in its_alloc()
From: Lukas Bulwahn <[email protected]>
Commit a82b26451de1 ("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 a82b26451de1 ("x86/its: explicitly manage permissions for ITS pages")
Signed-off-by Lukas Bulwahn <[email protected]>
--- arch/x86/kernel/alternative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/alternative.c +1 -1
@@ -228,7 +228,7 @@ static void *its_alloc(void)struct its_array *pages = &its_pages;void *page; -#ifdef CONFIG_MODULE +#ifdef CONFIG_MODULES if (its_mod) pages = &its_mod->arch.its_pages;#endif
Signature · 1 line
2.49.0