H. Peter Anvin | 20b6853 | 2014-05-02 11:33:51 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_ESPFIX_H |
H. Peter Anvin | e1fe9ed | 2014-05-01 14:12:23 -0700 | [diff] [blame] | 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(void); | ||||
13 | |||||
14 | #endif /* CONFIG_X86_64 */ | ||||
15 | |||||
16 | #endif /* _ASM_X86_ESPFIX_H */ |