summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/clear_cache.c
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-07-21 22:47:46 +0000
committerErich Keane <erich.keane@intel.com>2017-07-21 22:47:46 +0000
commita021743cfd92a8486df02821263f9f894baf9e26 (patch)
treeb82db350fcacdfff2ca929f48d2d51b271ca8175 /compiler-rt/lib/builtins/clear_cache.c
parent2b9657b570f2a3f12a6b3788d9b606f7fd5f1c88 (diff)
downloadbcm5719-llvm-a021743cfd92a8486df02821263f9f894baf9e26.tar.gz
bcm5719-llvm-a021743cfd92a8486df02821263f9f894baf9e26.zip
Remove Bitrig: CompilerRT Changes
Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned. Differential Revision: https://reviews.llvm.org/D35709 llvm-svn: 308798
Diffstat (limited to 'compiler-rt/lib/builtins/clear_cache.c')
-rw-r--r--compiler-rt/lib/builtins/clear_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c
index 25570fc2157..37c5fbe7dc9 100644
--- a/compiler-rt/lib/builtins/clear_cache.c
+++ b/compiler-rt/lib/builtins/clear_cache.c
@@ -23,7 +23,7 @@ uint32_t FlushInstructionCache(uintptr_t hProcess, void *lpBaseAddress,
uintptr_t GetCurrentProcess(void);
#endif
-#if (defined(__FreeBSD__) || defined(__Bitrig__)) && defined(__arm__)
+#if defined(__FreeBSD__) && defined(__arm__)
#include <sys/types.h>
#include <machine/sysarch.h>
#endif
@@ -96,7 +96,7 @@ void __clear_cache(void *start, void *end) {
* so there is nothing to do
*/
#elif defined(__arm__) && !defined(__APPLE__)
- #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__Bitrig__)
+ #if defined(__FreeBSD__) || defined(__NetBSD__)
struct arm_sync_icache_args arg;
arg.addr = (uintptr_t)start;
OpenPOWER on IntegriCloud