Commit 3c902383 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Dave Hansen
Browse files

x86/its: Fix an ifdef typo in its_alloc()



Commit a82b2645 ("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: a82b2645 ("x86/its: explicitly manage permissions for ITS pages")
Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@redhat.com>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20250616100432.22941-1-lukas.bulwahn%40redhat.com
parent 94a17f2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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