lkml.org 
[lkml]   [2019]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/20] nds32/io: Remove useless definition of mmiowb()
    Date
    mmiowb() only makes sense for SMP platforms, so we can remove it
    entirely for nds32.

    Signed-off-by: Will Deacon <will.deacon@arm.com>
    ---
    arch/nds32/include/asm/io.h | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
    index 71cd226d6863..5ef8ae5ba833 100644
    --- a/arch/nds32/include/asm/io.h
    +++ b/arch/nds32/include/asm/io.h
    @@ -55,8 +55,6 @@ static inline u32 __raw_readl(const volatile void __iomem *addr)
    #define __iormb() rmb()
    #define __iowmb() wmb()

    -#define mmiowb() __asm__ __volatile__ ("msync all" : : : "memory");
    -
    /*
    * {read,write}{b,w,l,q}_relaxed() are like the regular version, but
    * are not guaranteed to provide ordering against spinlocks or memory
    --
    2.11.0
    \
     
     \ /
      Last update: 2019-03-01 15:06    [W:3.507 / U:0.620 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site