mirror of https://github.com/xemu-project/xemu.git
qemu-barrier: Fix compilation on i386 hosts
Commit 610b823ef6
uses QEMU_GNUC_PREREQ
on i386 hosts.
That macro is defined in qemu-common.h which is not always included
before qemu-barrier.h, so compilation on i386 hosts was broken.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
d1e321b82a
commit
1d31fca470
|
@ -6,6 +6,8 @@
|
|||
|
||||
#if defined(__i386__)
|
||||
|
||||
#include "qemu-common.h" /* QEMU_GNUC_PREREQ */
|
||||
|
||||
/*
|
||||
* Because of the strongly ordered x86 storage model, wmb() and rmb() are nops
|
||||
* on x86(well, a compiler barrier only). Well, at least as long as
|
||||
|
|
Loading…
Reference in New Issue