From: Richard Henderson Date: Fri, 4 Jun 2010 19:14:13 +0000 (-0700) Subject: tcg-s390: Icache flush is a no-op. X-Git-Tag: v0.13.0-rc0~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bcaae666fdcda03f768c2894091ec2e441abb57;p=thirdparty%2Fqemu.git tcg-s390: Icache flush is a no-op. 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 Signed-off-by: Aurelien Jarno --- diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h index d8a29558bbe..d7fe0c71ca7 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 }