[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

powerpc wmb()



wmb is defined as

#define wmb()  __asm__ __volatile__ ("eieio" : : : "memory")

however, ``eieio'' has no effect on memory, that is
Write Through Not Required, thus I think it should be

#define wmb()  __asm__ __volatile__ ("sync" : : : "memory")

Comments ?

Regards,
-velco



Reply to: