projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/nvmept_trim: increase transfer size for some tests
[fio.git]
/
arch
/
arch-x86_64.h
diff --git
a/arch/arch-x86_64.h
b/arch/arch-x86_64.h
index 86ce1b7ed7dd0f56de77575bcbf2d2ba99e85901..b402dc6df39dbc4c7d677747571b6bb487a9c628 100644
(file)
--- a/
arch/arch-x86_64.h
+++ b/
arch/arch-x86_64.h
@@
-26,6
+26,11
@@
static inline unsigned long arch_ffz(unsigned long bitmask)
return bitmask;
}
+static inline void tsc_barrier(void)
+{
+ __asm__ __volatile__("mfence":::"memory");
+}
+
static inline unsigned long long get_cpu_clock(void)
{
unsigned int lo, hi;