[lkml]   [2007]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] [35/45] i386: make some variables static

    From: Adrian Bunk <>

    This patch makes some needlessly global variables static.

    Signed-off-by: Adrian Bunk <>
    Signed-off-by: Andi Kleen <>
    Cc: Andi Kleen <>
    Signed-off-by: Andrew Morton <>

    arch/i386/mm/discontig.c | 10 +++++-----
    1 file changed, 5 insertions(+), 5 deletions(-)

    Index: linux/arch/i386/mm/discontig.c
    --- linux.orig/arch/i386/mm/discontig.c
    +++ linux/arch/i386/mm/discontig.c
    @@ -103,14 +103,14 @@ extern unsigned long highend_pfn, highst


    -unsigned long node_remap_start_pfn[MAX_NUMNODES];
    +static unsigned long node_remap_start_pfn[MAX_NUMNODES];
    unsigned long node_remap_size[MAX_NUMNODES];
    -unsigned long node_remap_offset[MAX_NUMNODES];
    -void *node_remap_start_vaddr[MAX_NUMNODES];
    +static unsigned long node_remap_offset[MAX_NUMNODES];
    +static void *node_remap_start_vaddr[MAX_NUMNODES];
    void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);

    -void *node_remap_end_vaddr[MAX_NUMNODES];
    -void *node_remap_alloc_vaddr[MAX_NUMNODES];
    +static void *node_remap_end_vaddr[MAX_NUMNODES];
    +static void *node_remap_alloc_vaddr[MAX_NUMNODES];
    static unsigned long kva_start_pfn;
    static unsigned long kva_pages;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2007-09-21 22:59    [W:0.023 / U:17.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site