summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-en
blob: 2edb9df77a63dfea5e5afdc51658b78858aac81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-en,v 1.3 2011/08/22 12:00:34 ryoon Exp $

--- tcg/arm/tcg-target.h.orig	2011-08-08 18:28:42 +0000
+++ tcg/arm/tcg-target.h
@@ -83,7 +83,7 @@ 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);
+    __clear_cache((char *) start, (char *) stop); /* declared in exec-all.h */
 #else
     register unsigned long _beg __asm ("a1") = start;
     register unsigned long _end __asm ("a2") = stop;