[PATCH] [36/58] x86_64: minor exception trace variables cleanup

From: Andi Kleen
Date: Thu Jul 19 2007 - 06:15:23 EST



From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>

arch/x86_64/mm/fault.c | 2 +-
arch/x86_64/mm/init.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)

Index: linux/arch/x86_64/mm/fault.c
===================================================================
--- linux.orig/arch/x86_64/mm/fault.c
+++ linux/arch/x86_64/mm/fault.c
@@ -301,7 +301,7 @@ static int vmalloc_fault(unsigned long a
return 0;
}

-int page_fault_trace = 0;
+static int page_fault_trace;
int exception_trace = 1;

/*
Index: linux/arch/x86_64/mm/init.c
===================================================================
--- linux.orig/arch/x86_64/mm/init.c
+++ linux/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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/