Skip to content

Commit

Permalink
x86_64: minor exception trace variables cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jul 22, 2007
1 parent 2f30c00 commit 74a1ddc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion arch/x86_64/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down
2 changes: 0 additions & 2 deletions arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 74a1ddc

Please sign in to comment.