mirror of https://github.com/xqemu/xqemu.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 <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
dc397ca35e
commit
1bcaae666f
|
@ -94,9 +94,4 @@ enum {
|
||||||
|
|
||||||
static inline void flush_icache_range(unsigned long start, unsigned long stop)
|
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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue