From: Jan Beulich Date: Sat, 21 Jul 2007 15:10:22 +0000 (+0200) Subject: x86_64: minor exception trace variables cleanup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=74a1ddc597d83d5ca6541b15a15f80a3722e3a1e;p=openwrt%2Fstaging%2Fblogic.git 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 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,