summary refs log tree commit diff stats
path: root/cache-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'cache-utils.c')
-rw-r--r--cache-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache-utils.c b/cache-utils.c
index 7df1fcf51c..b37ddd4992 100644
--- a/cache-utils.c
+++ b/cache-utils.c
@@ -1,6 +1,6 @@
 #include "cache-utils.h"
 
-#if defined HOST_PPC || defined HOST_PPC64
+#if defined(_ARCH_PPC)
 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 || HOST_PPC64  */
+#endif /* _ARCH_PPC */