satip-axe/kernel/arch/um/sys-x86_64/shared/sysdep/barrier.h
2015-03-26 17:24:57 +01:00

8 lines
184 B
C

#ifndef __SYSDEP_X86_64_BARRIER_H
#define __SYSDEP_X86_64_BARRIER_H
/* Copied from include/asm-x86_64 for use by userspace. */
#define mb() asm volatile("mfence":::"memory")
#endif