linux-zen-desktop/arch/x86/include/asm/doublefault.h

18 lines
351 B
C
Raw Normal View History

2023-08-30 17:31:07 +02:00
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_DOUBLEFAULT_H
#define _ASM_X86_DOUBLEFAULT_H
2023-10-24 12:59:35 +02:00
#include <linux/linkage.h>
2023-08-30 17:31:07 +02:00
#ifdef CONFIG_X86_32
extern void doublefault_init_cpu_tss(void);
#else
static inline void doublefault_init_cpu_tss(void)
{
}
#endif
2023-10-24 12:59:35 +02:00
asmlinkage void __noreturn doublefault_shim(void);
2023-08-30 17:31:07 +02:00
#endif /* _ASM_X86_DOUBLEFAULT_H */