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 --- arch/x86_64/mm/fault.c | 2 +- arch/x86_64/mm/init.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/x86_64/mm') diff --git a/arch/x86_64/mm/fault.c b/arch/x86_64/mm/fault.c index 84f11728fc76..99a801811671 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 2f673225a51f..381c2ecd407e 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 v1.2.2