[PATCH] SH: atomic.h fixes

kaz Kojima kkojima@rr.iij4u.or.jp
Sat Mar 29 02:39:00 GMT 2003


Roland McGrath <roland@redhat.com> wrote:
> Your current version looks like it still evaluates the macro arg VALUE twice
> in several macros.  Also, I am not sure about using __typeof(value).
> Stick to __typeof(*(mem)) (and don't forget the parens around the macro arg),
> since the value might be a widened literal or something.

I'd like to fix these points. Thanks.

> I don't know SH at all, but I don't see anything that looks like system
> calls in here so I am confused by your comments.

Yes, there are no system calls. Please see
<URL:http://sources.redhat.com/ml/libc-hacker/2002-05/msg00029.html>.

Regards,
	kaz



More information about the Libc-hacker mailing list