blob: 99efebb2f69df5fd5a9d9fdf1a37c6a15ac38dd1 [file] [log] [blame]
H. Peter Anvin20b68532014-05-02 11:33:51 -07001#ifndef _ASM_X86_ESPFIX_H
H. Peter Anvine1fe9ed2014-05-01 14:12:23 -07002#define _ASM_X86_ESPFIX_H
3
4#ifdef CONFIG_X86_64
5
6#include <asm/percpu.h>
7
8DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
9DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
10
11extern void init_espfix_bsp(void);
12extern void init_espfix_ap(void);
13
14#endif /* CONFIG_X86_64 */
15
16#endif /* _ASM_X86_ESPFIX_H */