]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commitdiff
qemu-barrier: Fix compilation on i386 hosts
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 7 Oct 2012 18:07:11 +0000 (20:07 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 7 Oct 2012 18:07:11 +0000 (20:07 +0200)
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>
qemu-barrier.h

index 1de914e882b0459c8daff7183fec263ff51070c3..faa83d265ea2bc1df891db9ffa6c4be0dc6e4251 100644 (file)
@@ -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