summaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-06-04 12:14:13 -0700
committerAurelien Jarno <aurelien@aurel32.net>2010-06-11 08:46:05 +0200
commit8c3d7a61344e0df34babf45023c2a7afc9a25c1e (patch)
tree306e8e802ca4170a83fea8b57850237d31ad75cd /tcg
parentd9199af61d6ead00b8393feedc4a782071d6affc (diff)
downloadqemu-8c3d7a61344e0df34babf45023c2a7afc9a25c1e.tar.gz
qemu-8c3d7a61344e0df34babf45023c2a7afc9a25c1e.tar.bz2
qemu-8c3d7a61344e0df34babf45023c2a7afc9a25c1e.zip
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 <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/s390/tcg-target.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index d8a29558bb..d7fe0c71ca 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
}