Skip to content

Commit

Permalink
qemu-barrier: Fix compilation on i386 hosts
Browse files Browse the repository at this point in the history
Commit 1d31fca tried to fix bug
introduced by 610b823 by including
qemu-common.h, which breaks the build further.

Include compiler.h instead, as suggested by Blue Swirl.

Signed-off-by: Aurelien Jarno <[email protected]>
  • Loading branch information
aurel32 committed Oct 7, 2012
1 parent 046dbab commit f182978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu-barrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f182978

Please sign in to comment.