locking/refcounts: Include fewer headers in <linux/refcount.h>
[linux/fpc-iii.git] / arch / x86 / include / asm / espfix.h
blob6777480d8a427eaaa07559f77985c125aa66bb6c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_ESPFIX_H
3 #define _ASM_X86_ESPFIX_H
5 #ifdef CONFIG_X86_ESPFIX64
7 #include <asm/percpu.h>
9 DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
10 DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
12 extern void init_espfix_bsp(void);
13 extern void init_espfix_ap(int cpu);
14 #else
15 static inline void init_espfix_ap(int cpu) { }
16 #endif
18 #endif /* _ASM_X86_ESPFIX_H */