From patchwork Thu May 27 20:46:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [36/62] tcg-s390: Icache flush is a no-op. Date: Thu, 27 May 2010 10:46:18 -0000 From: Richard Henderson X-Patchwork-Id: 53827 Message-Id: <1274993204-30766-37-git-send-email-rth@twiddle.net> To: qemu-devel@nongnu.org Cc: agraf@suse.de, aurelien@aurel32.net 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 0af4d38..fae8ed7 100644 --- a/tcg/s390/tcg-target.h +++ b/tcg/s390/tcg-target.h @@ -95,9 +95,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 }