qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/3] ppc: Disable cacheutils for the interpreter


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 1/3] ppc: Disable cacheutils for the interpreter
Date: Tue, 13 May 2014 14:22:03 -0700

These really ought to be moved into the (unified?) tcg-ppc backend.

Signed-off-by: Richard Henderson <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]