aboutsummaryrefslogtreecommitdiff
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
commit1bcaae666fdcda03f768c2894091ec2e441abb57 (patch)
tree306e8e802ca4170a83fea8b57850237d31ad75cd /tcg
parentdc397ca35e332770ede6899122e5d012bd92c37c (diff)
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
}