summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pti.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/pti.h')
-rw-r--r--arch/x86/include/asm/pti.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/pti.h b/arch/x86/include/asm/pti.h
index 38a17f1d5c9d..5df09a0b80b8 100644
--- a/arch/x86/include/asm/pti.h
+++ b/arch/x86/include/asm/pti.h
@@ -6,10 +6,9 @@
#ifdef CONFIG_PAGE_TABLE_ISOLATION
extern void pti_init(void);
extern void pti_check_boottime_disable(void);
-extern void pti_clone_kernel_text(void);
+extern void pti_finalize(void);
#else
static inline void pti_check_boottime_disable(void) { }
-static inline void pti_clone_kernel_text(void) { }
#endif
#endif /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud