diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2025-06-03 14:14:43 +0300 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-06-11 11:20:51 +0200 |
| commit | 0b0cae7119a0ec9449d7261b5e672a5fed765068 (patch) | |
| tree | 9cd07347e85d58f197268109babe803cf7b18964 /include/linux/module.h | |
| parent | 47410d839fcda6890cb82828f874f97710982f24 (diff) | |
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
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 92e1420fccdf..5faa1fb1f4b4 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -586,11 +586,6 @@ struct module { atomic_t refcnt; #endif -#ifdef CONFIG_MITIGATION_ITS - int its_num_pages; - void **its_page_array; -#endif - #ifdef CONFIG_CONSTRUCTORS /* Constructor functions. */ ctor_fn_t *ctors; |
