lkml.org 
[lkml]   [2012]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v8 32/46] x86, mm: change low/hignmem_pfn_init to static on 32bit
    Date
    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    ---
    arch/x86/mm/init_32.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
    index 0ae1ba8..322ee56 100644
    --- a/arch/x86/mm/init_32.c
    +++ b/arch/x86/mm/init_32.c
    @@ -575,7 +575,7 @@ early_param("highmem", parse_highmem);
    * artificially via the highmem=x boot parameter then create
    * it:
    */
    -void __init lowmem_pfn_init(void)
    +static void __init lowmem_pfn_init(void)
    {
    /* max_low_pfn is 0, we already have early_res support */
    max_low_pfn = max_pfn;
    @@ -611,7 +611,7 @@ void __init lowmem_pfn_init(void)
    * We have more RAM than fits into lowmem - we try to put it into
    * highmem, also taking the highmem=x boot parameter into account:
    */
    -void __init highmem_pfn_init(void)
    +static void __init highmem_pfn_init(void)
    {
    max_low_pfn = MAXMEM_PFN;

    --
    1.7.7


    \
     
     \ /
      Last update: 2012-11-17 05:21    [W:4.241 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site