xref: /kernel/linux/linux-5.10/arch/x86/include/asm/espfix.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/x86/include/asm/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_ESPFIX_H
38c2ecf20Sopenharmony_ci#define _ASM_X86_ESPFIX_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef CONFIG_X86_ESPFIX64
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#include <asm/percpu.h>
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciDECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
108c2ecf20Sopenharmony_ciDECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciextern void init_espfix_bsp(void);
138c2ecf20Sopenharmony_ciextern void init_espfix_ap(int cpu);
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_cistatic inline void init_espfix_ap(int cpu) { }
168c2ecf20Sopenharmony_ci#endif
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif /* _ASM_X86_ESPFIX_H */
19

Indexes created Thu Nov 07 10:32:03 CST 2024