18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_DOUBLEFAULT_H
38c2ecf20Sopenharmony_ci#define _ASM_X86_DOUBLEFAULT_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef CONFIG_X86_32
68c2ecf20Sopenharmony_ciextern void doublefault_init_cpu_tss(void);
78c2ecf20Sopenharmony_ci#else
88c2ecf20Sopenharmony_cistatic inline void doublefault_init_cpu_tss(void)
98c2ecf20Sopenharmony_ci{
108c2ecf20Sopenharmony_ci}
118c2ecf20Sopenharmony_ci#endif
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif /* _ASM_X86_DOUBLEFAULT_H */
14