x86_64: minor exception trace variables cleanup
authorJan Beulich <jbeulich@novell.com>
Sat, 21 Jul 2007 15:10:22 +0000 (17:10 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:09 +0000 (18:37 -0700)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/mm/fault.c
arch/x86_64/mm/init.c

index 84f1172..99a8018 100644 (file)
@@ -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;
 
 /*
index 2f67322..381c2ec 100644 (file)
@@ -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,