linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc wmb()
@ 2001-11-18 12:58 Momchil Velikov
  2001-11-18 13:13 ` Anton Blanchard
  0 siblings, 1 reply; 2+ messages in thread
From: Momchil Velikov @ 2001-11-18 12:58 UTC (permalink / raw)
  To: linuxppc-dev


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

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-18 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-18 12:58 powerpc wmb() Momchil Velikov
2001-11-18 13:13 ` Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).