Forwarded: not-needed
Gbp-Pq: Topic art
Gbp-Pq: Name workaround-cacheflush-on-arm.patch
int CacheFlush(uintptr_t start, uintptr_t limit) {
// The signature of cacheflush(2) seems to vary by source. On ARM the system call wrapper
// (bionic/SYSCALLS.TXT) has the form: int cacheflush(long start, long end, long flags);
- int r = cacheflush(start, limit, kCacheFlushFlags);
+// int r = cacheflush(start, limit, kCacheFlushFlags);
+//This is only for ARM
+//Workaround/skip cacheflush until we find the real replacement
+ int r = 0;
if (r == -1) {
CHECK_NE(errno, EINVAL);
}