aboutsummaryrefslogtreecommitdiff
path: root/cache-utils.h
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 10:14:31 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 10:14:31 +0000
commit395f153dcd299026358fef4218cbf874f5ea4c6b (patch)
tree28ab156c7643143c420367fe645c2630833d4d67 /cache-utils.h
parent1eff7fbf116790aaacc8f89def68be11149626cc (diff)
Fix building on PPC64
HOST_PPC alone can't be a substitute for __powerpc__ which is defined for both 32 and 64bit PPCs, so go with HOST_PPC || HOST_PPC64 instead. Reported by C. W. Betts git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6293 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cache-utils.h')
-rw-r--r--cache-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-utils.h b/cache-utils.h
index 19b24ab4e1..8847dbbf7b 100644
--- a/cache-utils.h
+++ b/cache-utils.h
@@ -3,7 +3,7 @@
#include "config-host.h"
-#ifdef HOST_PPC
+#if defined HOST_PPC || defined HOST_PPC64
struct qemu_cache_conf {
unsigned long dcache_bsize;
unsigned long icache_bsize;