mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
qemu-barrier: Fix compilation on i386 hosts
Commit1d31fca470
tried to fix bug introduced by610b823ef6
by including qemu-common.h, which breaks the build further. Include compiler.h instead, as suggested by Blue Swirl. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
046dbab95f
commit
f1829782d6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#if defined(__i386__)
|
#if defined(__i386__)
|
||||||
|
|
||||||
#include "qemu-common.h" /* QEMU_GNUC_PREREQ */
|
#include "compiler.h" /* QEMU_GNUC_PREREQ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Because of the strongly ordered x86 storage model, wmb() and rmb() are nops
|
* Because of the strongly ordered x86 storage model, wmb() and rmb() are nops
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue