Change-Id: Id6826843ab1c4142a6b1051f13a99749b25109c6
Signed-off-by: Dae Young Ryu <karzia@samsung.com>
#if defined(__i386__)
-
-#if SMP_SUPPORT == 0
-void MemoryBarrier(void)
-{
- BarrierByCompiler();
-}
-#else
-void MemoryBarrier(void)
-{
- __asm__ __volatile__ ("mfence" ::: "memory");
-}
-#endif
+// unused code
+//#if SMP_SUPPORT == 0
+//void MemoryBarrier(void)
+//{
+// BarrierByCompiler();
+//}
+//#else
+//void MemoryBarrier(void)
+//{
+// __asm__ __volatile__ ("mfence" ::: "memory");
+//}
+//#endif
#elif defined(__arm__)
#if SMP_SUPPORT == 0
void MemoryBarrier(void)
{
- BarrierByCompiler();
+ BarrierByCompiler();
}
#else
void MemoryBarrier(void)
{
- __asm__ __volatile__ ("dmb" ::: "memory");
+ __asm__ __volatile__ ("dmb" ::: "memory");
}
#endif