aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-07-21 11:10:22 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-21 21:37:09 -0400
commit74a1ddc597d83d5ca6541b15a15f80a3722e3a1e (patch)
tree3681b9a15d7d6196b57e4612d2282eb020abb0ef /arch/x86_64/mm
parent2f30c00702aca3229e1157718675f0ee56d2a931 (diff)
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>
Diffstat (limited to 'arch/x86_64/mm')
-rw-r--r--arch/x86_64/mm/fault.c2
-rw-r--r--arch/x86_64/mm/init.c2
2 files changed, 1 insertions, 3 deletions
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)
301 return 0; 301 return 0;
302} 302}
303 303
304int page_fault_trace = 0; 304static int page_fault_trace;
305int exception_trace = 1; 305int exception_trace = 1;
306 306
307/* 307/*
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)
700#ifdef CONFIG_SYSCTL 700#ifdef CONFIG_SYSCTL
701#include <linux/sysctl.h> 701#include <linux/sysctl.h>
702 702
703extern int exception_trace, page_fault_trace;
704
705static ctl_table debug_table2[] = { 703static ctl_table debug_table2[] = {
706 { 704 {
707 .ctl_name = 99, 705 .ctl_name = 99,