summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/mock/arch/barrier.h
blob: aed115bb64acd7c5b2990f047c8b12201ce1c3dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ARCH_BARRIER_H__
#define __ARCH_BARRIER_H__

/* No memory barrier on mock build */
#define mb()
/* No read memory barrier on mock build */
#define rmb()
/* No write memory barrier on mock build */
#define wmb()

#endif /* __ARCH_BARRIER_H__ */