lkml.org 
[lkml]   [2017]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 080/294] xtensa: mm/cache: add missing EXPORT_SYMBOLs
    3.16.50-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Max Filippov <jcmvbkbc@gmail.com>

    commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream.

    Functions clear_user_highpage, copy_user_highpage, flush_dcache_page,
    local_flush_cache_range and local_flush_cache_page may be used from
    modules. Export them.

    Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
    [bwh: Backported to 3.16: drop exports of {clear,copy}_user_highpage()]
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    --- a/arch/xtensa/mm/cache.c
    +++ b/arch/xtensa/mm/cache.c
    @@ -116,7 +116,7 @@ void flush_dcache_page(struct page *page

    /* There shouldn't be an entry in the cache for this page anymore. */
    }
    -
    +EXPORT_SYMBOL(flush_dcache_page);

    /*
    * For now, flush the whole cache. FIXME??
    @@ -128,6 +128,7 @@ void local_flush_cache_range(struct vm_a
    __flush_invalidate_dcache_all();
    __invalidate_icache_all();
    }
    +EXPORT_SYMBOL(local_flush_cache_range);

    /*
    * Remove any entry in the cache for this page.
    @@ -147,6 +148,7 @@ void local_flush_cache_page(struct vm_ar
    __flush_invalidate_dcache_page_alias(virt, phys);
    __invalidate_icache_page_alias(virt, phys);
    }
    +EXPORT_SYMBOL(local_flush_cache_page);

    #endif /* DCACHE_WAY_SIZE > PAGE_SIZE */

    \
     
     \ /
      Last update: 2017-11-08 20:59    [W:3.558 / U:0.880 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site