xref: /linux/arch/x86/include/asm/espfix.h (revision 7c66e12136c2fa421ae75497e02728f252108a1b)
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