On Wed, 17 Jan 2007, Andreas Schwab wrote:

> Brent Casavant <[EMAIL PROTECTED]> writes:
> 
> > Is there some particular reason we need the cast to int on the
> > return path for atomic_cmpxchg()?  It looks to me as if this
> > macro would work equally well with an atomic_t or an atomic64_t.
> 
> No, this is won't work, atomic_cmpxchg is strictly only defined for
> atomic_t.  See commit 4a6dae6d382e9edf3ff440b819e554ed706359bc.

Use cmpxchg instead of atomic_cmpxchg.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to