summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/mm')
-rw-r--r--arch/x86_64/mm/fault.c2
-rw-r--r--arch/x86_64/mm/init.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/mm/fault.c b/arch/x86_64/mm/fault.c
index 84f11728fc7..99a80181167 100644
--- a/arch/x86_64/mm/fault.c
+++ b/arch/x86_64/mm/fault.c
@@ -301,7 +301,7 @@ static int vmalloc_fault(unsigned long address)
return 0;
}
-int page_fault_trace = 0;
+static int page_fault_trace;
int exception_trace = 1;
/*
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c
index 2f673225a51..381c2ecd407 100644
--- a/arch/x86_64/mm/init.c
+++ b/arch/x86_64/mm/init.c
@@ -700,8 +700,6 @@ int kern_addr_valid(unsigned long addr)
#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
-extern int exception_trace, page_fault_trace;
-
static ctl_table debug_table2[] = {
{
.ctl_name = 99,