lkml.org 
[lkml]   [2007]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[2.6 patch] make __vmalloc_area_node() static
    __vmalloc_area_node() can become static.

    Signed-off-by: Adrian Bunk <bunk@kernel.org>

    ---
    b3249772621c0e8a7210f5a4d451ceaf73d28984
    diff --git a/mm/vmalloc.c b/mm/vmalloc.c
    index af77e17..8c6c0dd 100644
    --- a/mm/vmalloc.c
    +++ b/mm/vmalloc.c
    @@ -423,8 +423,8 @@ void *vmap(struct page **pages, unsigned int count,
    }
    EXPORT_SYMBOL(vmap);

    -void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
    - pgprot_t prot, int node)
    +static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
    + pgprot_t prot, int node)
    {
    struct page **pages;
    unsigned int nr_pages, array_size, i;
    -
    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-11-03 01:23    [W:0.017 / U:3.408 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site