18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_BARRIER_H 38c2ecf20Sopenharmony_ci#define __ASM_BARRIER_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define mb() asm volatile ("l.msync" ::: "memory") 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <asm-generic/barrier.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#endif /* __ASM_BARRIER_H */ 10