Index: third_party/WebKit/Source/wtf/Atomics.h |
diff --git a/third_party/WebKit/Source/wtf/Atomics.h b/third_party/WebKit/Source/wtf/Atomics.h |
index cdd631efe8aea48f021681350150f48f18274f7e..529d83c188e433923524428e5042c1af01f5d291 100644 |
--- a/third_party/WebKit/Source/wtf/Atomics.h |
+++ b/third_party/WebKit/Source/wtf/Atomics.h |
@@ -219,7 +219,7 @@ ALWAYS_INLINE float noBarrierLoad(volatile const float* ptr) |
#else |
#define MEMORY_BARRIER() __asm__ __volatile__("" : : : "memory") |
#endif |
-#elif CPU(ARM) && (OS(LINUX) || OS(ANDROID)) |
+#elif CPU(ARM) && OS(ANDROID) |
// On ARM __sync_synchronize generates dmb which is very expensive on single |
// core devices which don't actually need it. Avoid the cost by calling into |
// kuser_memory_barrier helper. |