Commit e6a0022b by Geoffrey Keating Committed by Geoffrey Keating

ffi_darwin.c (flush_icache): ';' is a comment character on Darwin, use '\n\t' instead.

	* src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
	character on Darwin, use '\n\t' instead.

From-SVN: r83899
parent 852a1311
2004-06-30 Geoffrey Keating <geoffk@apple.com>
* src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
character on Darwin, use '\n\t' instead.
2004-06-26 Matthias Klose <doko@debian.org> 2004-06-26 Matthias Klose <doko@debian.org>
* libtool-version: Fix typo in revision/age. * libtool-version: Fix typo in revision/age.
......
...@@ -530,11 +530,11 @@ flush_icache(char *addr) ...@@ -530,11 +530,11 @@ flush_icache(char *addr)
{ {
#ifndef _AIX #ifndef _AIX
__asm__ volatile ( __asm__ volatile (
"dcbf 0,%0;" "dcbf 0,%0\n"
"sync;" "\tsync\n"
"icbi 0,%0;" "\ticbi 0,%0\n"
"sync;" "\tsync\n"
"isync;" "\tisync"
: : "r"(addr) : "memory"); : : "r"(addr) : "memory");
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment