repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
16 lines
372 B
C
16 lines
372 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_PTI_H
|
|
#define _ASM_X86_PTI_H
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#ifdef CONFIG_PAGE_TABLE_ISOLATION
|
|
extern void pti_init(void);
|
|
extern void pti_check_boottime_disable(void);
|
|
extern void pti_finalize(void);
|
|
#else
|
|
static inline void pti_check_boottime_disable(void) { }
|
|
#endif
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* _ASM_X86_PTI_H */
|