]> err.no Git - linux-2.6/commitdiff
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 84f11728fc76e8438907be59f187ffb7fef96d72..99a80181167143e97333ddc073568f060bca4dba 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 2f673225a51f4e650b3c7a62eb10146976da8b99..381c2ecd407e3b08137b2f1d7cb4ac6afa1d62ce 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,