qemu-barrier: Fix build failure on PowerPC Mac OS X
commit463ce4ae2dc5214f1b3ce5951c7cc3904c903702
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 1 Nov 2011 09:39:49 +0000 (1 05:39 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 16:50:11 +0000 (1 11:50 -0500)
tree0e25ba042446addd926e9c49f0af1ee7abd8acac
parent9477c87ed9b7795b292cb683cf758fdfec866de3
qemu-barrier: Fix build failure on PowerPC Mac OS X

qemu-barrier.h tests if macro __powerpc__ is defined, however, the
preprocessor on PowerPC Mac OS X defines only __POWERPC__, not
__powerpc__.  Resolve by testing instead for qemu-provided _ARCH_PPC.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-barrier.h