xref: /openbmc/linux/arch/x86/include/asm/espfix.h (revision 6a551c11)
1 #ifndef _ASM_X86_ESPFIX_H
2 #define _ASM_X86_ESPFIX_H
3 
4 #ifdef CONFIG_X86_64
5 
6 #include <asm/percpu.h>
7 
8 DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
9 DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
10 
11 extern void init_espfix_bsp(void);
12 extern void init_espfix_ap(int cpu);
13 
14 #endif /* CONFIG_X86_64 */
15 
16 #endif /* _ASM_X86_ESPFIX_H */
17