From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkK9v-0005As-0w for qemu-devel@nongnu.org; Tue, 13 May 2014 17:22:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkK9o-00070r-VB for qemu-devel@nongnu.org; Tue, 13 May 2014 17:22:46 -0400 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:47781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkK9o-00070Q-Np for qemu-devel@nongnu.org; Tue, 13 May 2014 17:22:40 -0400 Received: by mail-qg0-f51.google.com with SMTP id q107so1342971qgd.38 for ; Tue, 13 May 2014 14:22:39 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 13 May 2014 14:22:03 -0700 Message-Id: <1400016125-4869-2-git-send-email-rth@twiddle.net> In-Reply-To: <1400016125-4869-1-git-send-email-rth@twiddle.net> References: <1400016125-4869-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 1/3] ppc: Disable cacheutils for the interpreter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sw@weilnetz.de These really ought to be moved into the (unified?) tcg-ppc backend. Signed-off-by: Richard Henderson --- 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 /* 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