]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/its: move its_pages array to struct mod_arch_specific
authorMike Rapoport (Microsoft) <rppt@kernel.org>
Tue, 3 Jun 2025 11:14:43 +0000 (14:14 +0300)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 11 Jun 2025 09:20:51 +0000 (11:20 +0200)
commit0b0cae7119a0ec9449d7261b5e672a5fed765068
tree9cd07347e85d58f197268109babe803cf7b18964
parent47410d839fcda6890cb82828f874f97710982f24
x86/its: move its_pages array to struct mod_arch_specific

The of pages with ITS thunks allocated for modules are tracked by an
array in 'struct module'.

Since this is very architecture specific data structure, move it to
'struct mod_arch_specific'.

No functional changes.

Fixes: 872df34d7c51 ("x86/its: Use dynamic thunks for indirect branches")
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20250603111446.2609381-4-rppt@kernel.org
arch/x86/include/asm/module.h
arch/x86/kernel/alternative.c
include/linux/module.h