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

#if defined(CONFIG_X86_32) && defined(CONFIG_DOUBLEFAULT)
extern void doublefault_init_cpu_tss(void);
#else
static inline void doublefault_init_cpu_tss(void)
{
}
#endif

#endif /* _ASM_X86_DOUBLEFAULT_H */