pti.h (c95baf12f5077419db01313ab61c2aac007d40cd) pti.h (ea4654e0885348f0faa47f6d7b44a08d75ad16e9)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_PTI_H
3#define _ASM_X86_PTI_H
4#ifndef __ASSEMBLY__
5
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_PTI_H
3#define _ASM_X86_PTI_H
4#ifndef __ASSEMBLY__
5
6#ifdef CONFIG_PAGE_TABLE_ISOLATION
6#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
7extern void pti_init(void);
8extern void pti_check_boottime_disable(void);
9extern void pti_finalize(void);
10#else
11static inline void pti_check_boottime_disable(void) { }
12#endif
13
14#endif /* __ASSEMBLY__ */
15#endif /* _ASM_X86_PTI_H */
7extern void pti_init(void);
8extern void pti_check_boottime_disable(void);
9extern void pti_finalize(void);
10#else
11static inline void pti_check_boottime_disable(void) { }
12#endif
13
14#endif /* __ASSEMBLY__ */
15#endif /* _ASM_X86_PTI_H */