8187590: Zero runtime can lock-up on linux-alpha

Reviewed-by: aph, dholmes
This commit is contained in:
John Paul Adrian Glaubitz 2017-09-26 04:52:02 -04:00
parent 04b79fa8f3
commit 80184d3515

View File

@ -56,8 +56,16 @@ typedef void (__kernel_dmb_t) (void);
#else // PPC
#ifdef ALPHA
#define LIGHT_MEM_BARRIER __sync_synchronize()
#else // ALPHA
#define LIGHT_MEM_BARRIER __asm __volatile ("":::"memory")
#endif // ALPHA
#endif // PPC
#endif // ARM