lkml.org 
[lkml]   [2011]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch v2 28/35] Hexagon: Add ioremap support
    Date
    On Tuesday 30 August 2011, Richard Kuo wrote:
    > Signed-off-by: Richard Kuo <rkuo@codeaurora.org>

    Acked-by: Arnd Bergmann <arnd@arndb.de>

    > + if (ioremap_page_range(addr, addr+size, phys_addr, prot)) {
    > + vunmap((void *)addr);
    > + return NULL;
    > + }
    > +
    > + flush_cache_vmap(addr, addr+size);

    I think that ioremap_page_range implies the flush_cache_vmap already,
    so there is no reason to do it again.

    Arnd


    \
     
     \ /
      Last update: 2011-08-31 16:55    [W:3.134 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site