mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 08:13:34 +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
|