$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_include_sysmacros_md_h,v 1.1 2005/06/03 17:27:54 kurt Exp $
--- j2sdk1.3.1/src/solaris/javavm/include/sysmacros_md.h.orig	Wed Nov  3 19:40:18 2004
+++ j2sdk1.3.1/src/solaris/javavm/include/sysmacros_md.h	Wed Nov  3 19:40:51 2004
@@ -75,6 +75,8 @@ void panic (const char *, ...);
 			     */
 #elif defined(__powerpc__)
 #define sysMemoryFlush()  0
+#elif defined(__arm__)
+#define sysMemoryFlush() __asm__ __volatile__ ("" : : : "memory")
 #else
 #error No definition for sysMemoryFlush!
 #endif
