summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-06-25 16:56:49 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-07-22 05:52:08 +0200
commit1d93f0f03d4d911fdf1dc4ef529d8b2a0c0765f2 (patch)
tree843739dbf41d3162ea8c25d8603d6797c0a7ac9c /cpus.c
parent1e29a009e35f2184236d09f45e58bc6a954074c6 (diff)
downloadqemu-1d93f0f03d4d911fdf1dc4ef529d8b2a0c0765f2.tar.gz
qemu-1d93f0f03d4d911fdf1dc4ef529d8b2a0c0765f2.tar.bz2
qemu-1d93f0f03d4d911fdf1dc4ef529d8b2a0c0765f2.zip
Introduce proper compiler barrier
Define barrier() as optimization barrier and replace (potentially unreliable) asm("") fences. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions