Thomas Gleixner | aa8c624 | 2017-12-04 15:07:36 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #ifndef _INCLUDE_PTI_H | ||||
3 | #define _INCLUDE_PTI_H | ||||
4 | |||||
5 | #ifdef CONFIG_PAGE_TABLE_ISOLATION | ||||
6 | #include <asm/pti.h> | ||||
7 | #else | ||||
8 | static inline void pti_init(void) { } | ||||
9 | #endif | ||||
10 | |||||
11 | #endif |