X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=cache-utils.h;h=0b65907e9725854ca82a3e802bbf2bca10bd3682;hb=9af99f1daf8e9bf0fecddcde35273383ec02cd45;hp=19b24ab4e1ab88f70acb0a895b8138cc7f41a514;hpb=1eff7fbf116790aaacc8f89def68be11149626cc;p=qemu.git diff --git a/cache-utils.h b/cache-utils.h index 19b24ab4e..0b65907e9 100644 --- a/cache-utils.h +++ b/cache-utils.h @@ -1,9 +1,7 @@ #ifndef QEMU_CACHE_UTILS_H #define QEMU_CACHE_UTILS_H -#include "config-host.h" - -#ifdef HOST_PPC +#if defined(_ARCH_PPC) struct qemu_cache_conf { unsigned long dcache_bsize; unsigned long icache_bsize; @@ -11,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)