Commit a13fd954 authored by Jean-Claude Beaudoin's avatar Jean-Claude Beaudoin
Browse files

Use builtin version of __clear_cache() to support binary code generated by mkcc.

parent ed088cfd
......@@ -14,7 +14,13 @@
void __mkcc_clear_cache(void *beg, void *end)
{
__arm64_clear_cache(beg, end);
#if 0
__arm64_clear_cache(beg, end);
#else
/* Should work in GCC and clang. */
extern void __builtin___clear_cache (void* start, void* end);
__builtin___clear_cache(beg, end);
#endif
}
typedef struct {
......
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