summaryrefslogtreecommitdiffstats
path: root/kernel/tools/arch/alpha/include/asm/barrier.h
blob: 95df19c9548234296a5eb6a980f810fc5bef3ef6 (plain)
1
2
3
4
5
6
7
8
#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H

#define mb()	__asm__ __volatile__("mb": : :"memory")
#define rmb()	__asm__ __volatile__("mb": : :"memory")
#define wmb()	__asm__ __volatile__("wmb": : :"memory")

#endif		/* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */