lkml.org 
[lkml]   [2007]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [36/58] x86_64: minor exception trace variables cleanup
    Date

    From: "Jan Beulich" <jbeulich@novell.com>
    Signed-off-by: Jan Beulich <jbeulich@novell.com>
    Signed-off-by: Andi Kleen <ak@suse.de>

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-07-19 12:17    [W:2.613 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site