lkml.org 
[lkml]   [2008]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] resource: fix section mismatch
    From
    Date
    reserve_region_with_list uses __reserve_region_with_split which is
    __init, and is used only from e820 init which is __init too, so it can
    be __init. Fixes a section mismatch warning.

    Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
    ---
    kernel/resource.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- everything.orig/kernel/resource.c 2008-10-29 02:49:07.000000000 +0100
    +++ everything/kernel/resource.c 2008-10-29 02:49:19.000000000 +0100
    @@ -571,7 +571,8 @@ static void __init __reserve_region_with

    }

    -void reserve_region_with_split(struct resource *root,
    +void __init
    +reserve_region_with_split(struct resource *root,
    resource_size_t start, resource_size_t end,
    const char *name)
    {



    \
     
     \ /
      Last update: 2008-10-29 14:53    [W:0.292 / U:30.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site