aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86_64/sysdep/barrier.h
blob: 7b610befdc8f3521bd13c598034847fc1d680616 (plain) (blame)
1
2
3
4
5
6
7
#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