summaryrefslogblamecommitdiff
path: root/include/linux/pti.h
blob: 1a941efcaa6223a55a8bfcceeb7fb798bbbb1bb4 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                     
                                         


      
// SPDX-License-Identifier: GPL-2.0
#ifndef _INCLUDE_PTI_H
#define _INCLUDE_PTI_H

#ifdef CONFIG_PAGE_TABLE_ISOLATION
#include <asm/pti.h>
#else
static inline void pti_init(void) { }
static inline void pti_finalize(void) { }
#endif

#endif