Michael Buesch wrote:
Yes, I think the barrier is wrong.
Please try with

#define mb()    __asm__ __volatile__("eieio\n sync\n" : : : "memory")


For uncached memory, eieio should be enough.

Micha
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to