Re: Re: [PATCH] Fix the atomic compare and swap function

"John David Anglin" <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
> > -#define ASM_EAGAIN "11"
> > +#define ASM_EAGAIN "-11"

If the check is wrong, I would change the compare instead of the
define.  Error numbers are normally defined as positive values.

Dave
-- 
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.