]> git.proxmox.com Git - qemu.git/blobdiff - cache-utils.h
multiboot: Support commas in module parameters
[qemu.git] / cache-utils.h
index 0598b96ebacc9512396b0f1e5a820a8f94e53ab5..0b65907e9725854ca82a3e802bbf2bca10bd3682 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef QEMU_CACHE_UTILS_H
 #define QEMU_CACHE_UTILS_H
 
-#ifdef __powerpc__
+#if defined(_ARCH_PPC)
 struct qemu_cache_conf {
     unsigned long dcache_bsize;
     unsigned long icache_bsize;
@@ -9,7 +9,7 @@ struct qemu_cache_conf {
 
 extern struct qemu_cache_conf qemu_cache_conf;
 
-extern void qemu_cache_utils_init(char **envp);
+void qemu_cache_utils_init(char **envp);
 
 /* mildly adjusted code from tcg-dyngen.c */
 static inline void flush_icache_range(unsigned long start, unsigned long stop)