| 1 |
|
| 2 | #ifndef _ASM_X86_MODULE_H
|
| 3 | #define _ASM_X86_MODULE_H
|
| 4 |
|
| 5 | #include <asm-generic/module.h>
|
| 6 | #include <asm/orc_types.h>
|
| 7 |
|
| 8 | struct its_array {
|
| 9 | #ifdef CONFIG_MITIGATION_ITS
|
| 10 | void **pages;
|
| 11 | int num;
|
| 12 | #endif
|
| 13 | };
|
| 14 |
|
| 15 | struct mod_arch_specific {
|
| 16 | #ifdef CONFIG_UNWINDER_ORC
|
| 17 | unsigned int num_orcs;
|
| 18 | int *orc_unwind_ip;
|
| 19 | struct orc_entry *orc_unwind;
|
| 20 | #endif
|
| 21 | struct its_array its_pages;
|
| 22 | };
|
| 23 |
|
| 24 | #endif
|