-#define cmm_smp_rmb() asm volatile(LWSYNC_OPCODE:::"memory")
-#define cmm_smp_wmb() asm volatile(LWSYNC_OPCODE:::"memory")
+#define cmm_smp_rmb() __asm__ __volatile__ (LWSYNC_OPCODE:::"memory")
+#define cmm_smp_wmb() __asm__ __volatile__ (LWSYNC_OPCODE:::"memory")