aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/mm/pti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/pti.c b/arch/x86/mm/pti.c
index 4fee5c3003ed..139b28a01ce4 100644
--- a/arch/x86/mm/pti.c
+++ b/arch/x86/mm/pti.c
@@ -77,7 +77,7 @@ static void __init pti_print_if_secure(const char *reason)
77 pr_info("%s\n", reason); 77 pr_info("%s\n", reason);
78} 78}
79 79
80enum pti_mode { 80static enum pti_mode {
81 PTI_AUTO = 0, 81 PTI_AUTO = 0,
82 PTI_FORCE_OFF, 82 PTI_FORCE_OFF,
83 PTI_FORCE_ON 83 PTI_FORCE_ON
@@ -602,7 +602,7 @@ static void pti_clone_kernel_text(void)
602 set_memory_global(start, (end_global - start) >> PAGE_SHIFT); 602 set_memory_global(start, (end_global - start) >> PAGE_SHIFT);
603} 603}
604 604
605void pti_set_kernel_image_nonglobal(void) 605static void pti_set_kernel_image_nonglobal(void)
606{ 606{
607 /* 607 /*
608 * The identity map is created with PMDs, regardless of the 608 * The identity map is created with PMDs, regardless of the