aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cache-utils.c4
-rw-r--r--cache-utils.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/cache-utils.c b/cache-utils.c
index 73a824a07f..7df1fcf51c 100644
--- a/cache-utils.c
+++ b/cache-utils.c
@@ -1,6 +1,6 @@
#include "cache-utils.h"
-#ifdef HOST_PPC
+#if defined HOST_PPC || defined HOST_PPC64
struct qemu_cache_conf qemu_cache_conf = {
.dcache_bsize = 16,
.icache_bsize = 16
@@ -68,4 +68,4 @@ void qemu_cache_utils_init(char **envp)
}
#endif
-#endif /* HOST_PPC */
+#endif /* HOST_PPC || HOST_PPC64 */
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;