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) { } | ||||
Joerg Roedel | b976690 | 2018-07-18 11:41:06 +0200 | [diff] [blame] | 9 | static inline void pti_finalize(void) { } |
Thomas Gleixner | aa8c624 | 2017-12-04 15:07:36 +0100 | [diff] [blame] | 10 | #endif |
11 | |||||
12 | #endif |