Merge commit '666daa68234b5b1758652633cab07d5ca6046a5b' into upstream-merge
[qemu-kvm/amd-iommu.git] / qemu-barrier.h
blob3bd1075d663958755d9a4c3ef02773533aba4a36
1 #ifndef __QEMU_BARRIER_H
2 #define __QEMU_BARRIER_H 1
4 /* FIXME: arch dependant, x86 version */
5 #define smp_wmb() asm volatile("" ::: "memory")
7 #endif