fetch_and_add() available on PPC Linux?Hi,

Wolfgang Denk wd at denx.de
Fri Dec 7 02:00:30 EST 2001

In message <20011206140445.TQHJ17034.tomts10-srv.bellnexxia.net at there> you wrote:
> I think it is the same as the cache line size (32 bytes for most ppc
> machines but defintely that cache line size changes for some
> implementations (so go with at least 32 bytes and you should be safe).

...except on embedded CPUs like MPC8xx which have a cache  line  size
of only 16 bytes

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"I've finally learned what `upward compatible' means. It means we get
to keep all our old mistakes." - Dennie van Tassel

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

More information about the Linuxppc-dev mailing list