summaryrefslogtreecommitdiff
path: root/qemu-barrier.h
blob: 3bd1075d663958755d9a4c3ef02773533aba4a36 (plain)
1
2
3
4
5
6
7
#ifndef __QEMU_BARRIER_H
#define __QEMU_BARRIER_H 1

/* FIXME: arch dependant, x86 version */
#define smp_wmb()   asm volatile("" ::: "memory")

#endif