From f5ad6a42b700d9687bb97cf461e7f2506e3006d6 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 18 Aug 2008 21:44:32 -0400 Subject: x86, um: get rid of sysdep symlink Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/um/sys-x86_64/sysdep/barrier.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/um/sys-x86_64/sysdep/barrier.h (limited to 'arch/um/sys-x86_64/sysdep/barrier.h') diff --git a/arch/um/sys-x86_64/sysdep/barrier.h b/arch/um/sys-x86_64/sysdep/barrier.h new file mode 100644 index 0000000..7b610be --- /dev/null +++ b/arch/um/sys-x86_64/sysdep/barrier.h @@ -0,0 +1,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 -- cgit v1.1