root/arch/unicore32/include/asm/barrier.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Memory barrier implementations for PKUnity SoC and UniCore ISA
   4  *
   5  * Copyright (C) 2001-2012 GUAN Xue-tao
   6  */
   7 #ifndef __UNICORE_BARRIER_H__
   8 #define __UNICORE_BARRIER_H__
   9 
  10 #define isb() __asm__ __volatile__ ("" : : : "memory")
  11 #define dsb() __asm__ __volatile__ ("" : : : "memory")
  12 #define dmb() __asm__ __volatile__ ("" : : : "memory")
  13 
  14 #include <asm-generic/barrier.h>
  15 
  16 #endif /* __UNICORE_BARRIER_H__ */

/* [<][>][^][v][top][bottom][index][help] */