lkml.org 
[lkml]   [2016]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] ia64: define ioremap_uc()
    Date
    All architectures now need ioremap_uc(), ia64 seems defines
    this already through its ioremap_nocache() and it already
    ensures it *only* uses UC.

    Reported-by: 0 day bot
    Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
    ---

    Note, this is actually needed since v4.3 to complete an allyesconfig
    compile on ia64, there were others archs that needed this, and this
    one just seems to have fallen through the cracks.

    arch/ia64/include/asm/io.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h
    index a865d2a04f75..5de673ac9cb1 100644
    --- a/arch/ia64/include/asm/io.h
    +++ b/arch/ia64/include/asm/io.h
    @@ -433,6 +433,7 @@ static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned lo
    return ioremap(phys_addr, size);
    }
    #define ioremap_cache ioremap_cache
    +#define ioremap_uc ioremap_nocache


    /*
    --
    2.7.2
    \
     
     \ /
      Last update: 2016-03-07 22:01    [W:3.818 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site