diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-07 20:07:11 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-07 20:07:11 +0200 |
commit | f1829782d6cb931973d71649f8ad1dad66188c34 (patch) | |
tree | bc852a7642da60fc23d6f87038e84089e5c8c117 /qemu-barrier.h | |
parent | 046dbab95f33e007428190610d638d2fcaf37fdf (diff) | |
download | qemu-f1829782d6cb931973d71649f8ad1dad66188c34.zip qemu-f1829782d6cb931973d71649f8ad1dad66188c34.tar.gz qemu-f1829782d6cb931973d71649f8ad1dad66188c34.tar.bz2 |
qemu-barrier: Fix compilation on i386 hosts
Commit 1d31fca470648ec66afd8743491bfb5846306341 tried to fix bug
introduced by 610b823ef66b993660f1ab1447a769f190e4f3b3 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>
Diffstat (limited to 'qemu-barrier.h')
-rw-r--r-- | qemu-barrier.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-barrier.h b/qemu-barrier.h index 1de914e..faa83d2 100644 --- a/qemu-barrier.h +++ b/qemu-barrier.h @@ -6,7 +6,7 @@ #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 |