From 74a1ddc597d83d5ca6541b15a15f80a3722e3a1e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Sat, 21 Jul 2007 17:10:22 +0200 Subject: x86_64: minor exception trace variables cleanup Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds diff --git a/arch/x86_64/mm/fault.c b/arch/x86_64/mm/fault.c index 84f1172..99a8018 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 2f67322..381c2ec 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 -extern int exception_trace, page_fault_trace; - static ctl_table debug_table2[] = { { .ctl_name = 99, -- cgit v0.10.2