diff options
author | Jan Beulich <jbeulich@novell.com> | 2007-07-21 11:10:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 21:37:09 -0400 |
commit | 74a1ddc597d83d5ca6541b15a15f80a3722e3a1e (patch) | |
tree | 3681b9a15d7d6196b57e4612d2282eb020abb0ef /arch/x86_64/mm | |
parent | 2f30c00702aca3229e1157718675f0ee56d2a931 (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.c | 2 | ||||
-rw-r--r-- | arch/x86_64/mm/init.c | 2 |
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 | ||
304 | int page_fault_trace = 0; | 304 | static int page_fault_trace; |
305 | int exception_trace = 1; | 305 | int 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 | ||
703 | extern int exception_trace, page_fault_trace; | ||
704 | |||
705 | static ctl_table debug_table2[] = { | 703 | static ctl_table debug_table2[] = { |
706 | { | 704 | { |
707 | .ctl_name = 99, | 705 | .ctl_name = 99, |