pti.h 372 B

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