diff options
author | dim <dim@FreeBSD.org> | 2015-03-14 18:38:07 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-03-14 18:38:07 +0000 |
commit | 1da417f6f40447c4c90052090438c5922da87be7 (patch) | |
tree | 013cca77585b788f7a6596af94d4fd85da5d9864 /contrib/compiler-rt | |
parent | 35d6abc9b429d82132df4ea09cb15630d41a5a8d (diff) | |
download | FreeBSD-src-1da417f6f40447c4c90052090438c5922da87be7.zip FreeBSD-src-1da417f6f40447c4c90052090438c5922da87be7.tar.gz |
For now, disable the __clear_cache implementation for mips in
compiler-rt, since we do not yet have the required syscall.
Diffstat (limited to 'contrib/compiler-rt')
-rw-r--r-- | contrib/compiler-rt/lib/builtins/clear_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/builtins/clear_cache.c b/contrib/compiler-rt/lib/builtins/clear_cache.c index 8dc0fb1..b7e099d 100644 --- a/contrib/compiler-rt/lib/builtins/clear_cache.c +++ b/contrib/compiler-rt/lib/builtins/clear_cache.c @@ -22,7 +22,7 @@ #include <machine/sysarch.h> #endif -#if defined(__mips__) +#if defined(__mips__) && !defined(__FreeBSD__) #include <sys/cachectl.h> #include <sys/syscall.h> #if defined(__ANDROID__) && defined(__LP64__) @@ -109,7 +109,7 @@ void __clear_cache(void *start, void *end) { #else compilerrt_abort(); #endif -#elif defined(__mips__) +#elif defined(__mips__) && !defined(__FreeBSD__) const uintptr_t start_int = (uintptr_t) start; const uintptr_t end_int = (uintptr_t) end; #if defined(__ANDROID__) && defined(__LP64__) |