tcg-s390: Icache flush is a no-op.
authorRichard Henderson <rth@twiddle.net>
Fri, 4 Jun 2010 19:14:13 +0000 (12:14 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 11 Jun 2010 06:46:05 +0000 (08:46 +0200)
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 <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/s390/tcg-target.h

index d8a29558bbe4a93ebb97317010d0c2e6a714ccec..d7fe0c71ca7c4c5c075ad6450e45a20c25b81cc4 100644 (file)
@@ -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
 }