These really ought to be moved into the (unified?) tcg-ppc backend. Signed-off-by: Richard Henderson <r...@twiddle.net> --- include/qemu/cache-utils.h | 2 +- util/cache-utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/qemu/cache-utils.h b/include/qemu/cache-utils.h index 211245b..c7b8f06 100644 --- a/include/qemu/cache-utils.h +++ b/include/qemu/cache-utils.h @@ -1,7 +1,7 @@ #ifndef QEMU_CACHE_UTILS_H #define QEMU_CACHE_UTILS_H -#if defined(_ARCH_PPC) +#if defined(_ARCH_PPC) && !defined(CONFIG_TCG_INTERPRETER) #include <stdint.h> /* uintptr_t */ diff --git a/util/cache-utils.c b/util/cache-utils.c index 0470030..c5230c7 100644 --- a/util/cache-utils.c +++ b/util/cache-utils.c @@ -1,7 +1,7 @@ #include "qemu-common.h" #include "qemu/cache-utils.h" -#if defined(_ARCH_PPC) +#if defined(_ARCH_PPC) && !defined(CONFIG_TCG_INTERPRETER) struct qemu_cache_conf qemu_cache_conf = { .dcache_bsize = 16, .icache_bsize = 16 -- 1.9.0