2014-05-03 02:33:51 +08:00
|
|
|
#ifndef _ASM_X86_ESPFIX_H
|
2014-05-02 05:12:23 +08:00
|
|
|
#define _ASM_X86_ESPFIX_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_X86_64
|
|
|
|
|
|
|
|
#include <asm/percpu.h>
|
|
|
|
|
|
|
|
DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
|
|
|
|
DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
|
|
|
|
|
|
|
|
extern void init_espfix_bsp(void);
|
|
|
|
extern void init_espfix_ap(void);
|
|
|
|
|
|
|
|
#endif /* CONFIG_X86_64 */
|
|
|
|
|
|
|
|
#endif /* _ASM_X86_ESPFIX_H */
|