3a1303
--- oiio-Release-1.1.3/src/include/thread.h.orig	2013-04-01 00:27:21.337292586 +0100
3a1303
+++ oiio-Release-1.1.3/src/include/thread.h	2013-04-01 00:30:08.910886481 +0100
3a1303
@@ -326,7 +326,11 @@
3a1303
     __TBB_Pause(delay);
3a1303
 #elif defined(__GNUC__)
3a1303
     for (int i = 0; i < delay; ++i) {
3a1303
+#if defined __arm__
3a1303
+        __asm__ __volatile__("NOP;");
3a1303
+#else 
3a1303
         __asm__ __volatile__("pause;");
3a1303
+#endif 
3a1303
     }
3a1303
 #elif defined(_MSC_VER)
3a1303
     for (int i = 0; i < delay; ++i) {
3a1303
@@ -441,7 +445,11 @@
3a1303
 
3a1303
     // Disallow copy construction by making private and unimplemented.
3a1303
     atomic (atomic const &);
3a1303
+#if defined __arm__
3a1303
+} __attribute__((aligned(8)));
3a1303
+#else 
3a1303
 };
3a1303
+#endif 
3a1303
 
3a1303
 
3a1303
 #endif /* ! USE_TBB */