lkml.org 
[lkml]   [2010]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 33/39] x86: Change e820_any_mapped() to __init
    Date
    We don't need to expose e820_any_mapped() anymore

    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    ---
    arch/x86/kernel/e820.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
    index be6e1e6..471784b 100644
    --- a/arch/x86/kernel/e820.c
    +++ b/arch/x86/kernel/e820.c
    @@ -47,9 +47,10 @@ EXPORT_SYMBOL(pci_mem_start);
    /*
    * This function checks if any part of the range <start,end> is mapped
    * with type.
    + * phys_pud_init() is using it and is _meminit, but we have !after_bootmem
    + * so could use refok here
    */
    -int
    -e820_any_mapped(u64 start, u64 end, unsigned type)
    +int __init_refok e820_any_mapped(u64 start, u64 end, unsigned type)
    {
    int i;

    @@ -64,7 +65,6 @@ e820_any_mapped(u64 start, u64 end, unsigned type)
    }
    return 0;
    }
    -EXPORT_SYMBOL_GPL(e820_any_mapped);

    /*
    * This function checks if the entire range <start,end> is mapped with type.
    --
    1.6.4.2


    \
     
     \ /
      Last update: 2010-04-09 08:11    [W:2.140 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site