Browse Source

x86_64: minor exception trace variables cleanup

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>
Jan Beulich 18 years ago
parent
commit
74a1ddc597
2 changed files with 1 additions and 3 deletions
  1. 1 1
      arch/x86_64/mm/fault.c
  2. 0 2
      arch/x86_64/mm/init.c

+ 1 - 1
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;
 
 /*

+ 0 - 2
arch/x86_64/mm/init.c

@@ -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,