Messages in this thread Patch in this message | | | From | ira.weiny@intel ... | Subject | [PATCH V8 24/44] x86/entry: Define arch_{save|restore}_auxiliary_pt_regs() | Date | Thu, 27 Jan 2022 09:54:45 -0800 |
| |
From: Ira Weiny <ira.weiny@intel.com>
The x86 architecture supports the new auxiliary pt_regs space if ARCH_HAS_PTREGS_AUXILIARY is enabled.
Define the callbacks within the x86 code required by the core entry code when this support is enabled.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
--- Changes for V8 New patch --- arch/x86/include/asm/entry-common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/arch/x86/include/asm/entry-common.h b/arch/x86/include/asm/entry-common.h index 43184640b579..5fa5dd2d539c 100644 --- a/arch/x86/include/asm/entry-common.h +++ b/arch/x86/include/asm/entry-common.h @@ -95,4 +95,16 @@ static __always_inline void arch_exit_to_user_mode(void) } #define arch_exit_to_user_mode arch_exit_to_user_mode +#ifdef CONFIG_ARCH_HAS_PTREGS_AUXILIARY + +static inline void arch_save_aux_pt_regs(struct pt_regs *regs) +{ +} + +static inline void arch_restore_aux_pt_regs(struct pt_regs *regs) +{ +} + +#endif + #endif -- 2.31.1
| |