mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
85199474d0
Acked-by: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
8 lines
152 B
C
8 lines
152 B
C
#ifndef __QEMU_BARRIER_H
|
|
#define __QEMU_BARRIER_H 1
|
|
|
|
/* FIXME: arch dependant, x86 version */
|
|
#define smp_wmb() asm volatile("" ::: "memory")
|
|
|
|
#endif
|