block: read-only: open cdrom as read-only when using monitor's change command
[qemu/mdroth.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