PageRenderTime 16ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/um/sys-x86_64/shared/sysdep/barrier.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 7 lines | 4 code | 2 blank | 1 comment | 0 complexity | e7b004a01538f2ee90d32fb360d9e7f0 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
1#ifndef __SYSDEP_X86_64_BARRIER_H
2#define __SYSDEP_X86_64_BARRIER_H
3
4/* Copied from include/asm-x86_64 for use by userspace. */
5#define mb() 	asm volatile("mfence":::"memory")
6
7#endif