From patchwork Fri Jun 4 19:14:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 54672 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9F551B7D24 for ; Sat, 5 Jun 2010 05:22:18 +1000 (EST) Received: from localhost ([127.0.0.1]:56200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcT6-0000Aq-QX for incoming@patchwork.ozlabs.org; Fri, 04 Jun 2010 15:22:12 -0400 Received: from [140.186.70.92] (port=37482 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcMX-0004ZJ-2u for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKcMV-0002Bm-Cx for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:25 -0400 Received: from are.twiddle.net ([75.149.56.221]:54754) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKcMU-0002BR-QS for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:23 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id E9896F7B; Fri, 4 Jun 2010 12:15:19 -0700 (PDT) Received: from anchor.twiddle.home (anchor.twiddle.home [127.0.0.1]) by anchor.twiddle.home (8.14.4/8.14.4) with ESMTP id o54JFHAP007181; Fri, 4 Jun 2010 12:15:17 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o54JFEDH007180; Fri, 4 Jun 2010 12:15:14 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 4 Jun 2010 12:14:13 -0700 Message-Id: <1275678883-7082-6-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: <1275678883-7082-1-git-send-email-rth@twiddle.net> References: <1275678883-7082-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: agraf@suse.de, aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 05/35] tcg-s390: Icache flush is a no-op. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Before gcc 4.2, __builtin___clear_cache doesn't exist, and afterward the gcc s390 backend implements it as nothing. Signed-off-by: Richard Henderson --- tcg/s390/tcg-target.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h index d8a2955..d7fe0c7 100644 --- a/tcg/s390/tcg-target.h +++ b/tcg/s390/tcg-target.h @@ -94,9 +94,4 @@ enum { static inline void flush_icache_range(unsigned long start, unsigned long stop) { -#if QEMU_GNUC_PREREQ(4, 1) - __builtin___clear_cache((char *) start, (char *) stop); -#else -#error not implemented -#endif }