---
 testsuites/sptests/spcache01/init.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuites/sptests/spcache01/init.c 
b/testsuites/sptests/spcache01/init.c
index 2c9d184..ad9b54f 100644
--- a/testsuites/sptests/spcache01/init.c
+++ b/testsuites/sptests/spcache01/init.c
@@ -27,7 +27,11 @@
 
 const char rtems_test_name[] = "SPCACHE 1";
 
-#define I() __asm__ volatile ("nop")
+#ifdef __or1k__
+  #define I() __asm__ volatile ("l.nop")
+#else
+  #define I() __asm__ volatile ("nop")
+#endif
 
 #define I8() I(); I(); I(); I(); I(); I(); I(); I()
 
-- 
1.9.3

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to