6809: add asm define for gcc bug workaround
authorAlan Cox <alan@linux.intel.com>
Sat, 26 Dec 2015 23:02:12 +0000 (23:02 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 26 Dec 2015 23:02:12 +0000 (23:02 +0000)
Kernel/cpu-6809/cpu.h

index 136eb0b..ff02941 100644 (file)
@@ -66,3 +66,4 @@ typedef union {            /* this structure is endian dependent */
 /* Sane behaviour for unused parameters */
 #define used(x)
 
+#define gcc_miscompile_workaround()    __asm("":::"memory")