From: Jan Beulich Date: Sat, 21 Jul 2007 15:10:22 +0000 (+0200) Subject: x86_64: minor exception trace variables cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74a1ddc597d83d5ca6541b15a15f80a3722e3a1e;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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,