summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/doublefault.h
blob: de0e88b32207e7781723c5c9f18e9d375baf72dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_DOUBLEFAULT_H
#define _ASM_X86_DOUBLEFAULT_H

#include <linux/linkage.h>

#ifdef CONFIG_X86_32
extern void doublefault_init_cpu_tss(void);
#else
static inline void doublefault_init_cpu_tss(void)
{
}
#endif

asmlinkage void __noreturn doublefault_shim(void);

#endif /* _ASM_X86_DOUBLEFAULT_H */