On Tue, Sep 30, 2014 at 09:06:13PM +0200, Frederic Weisbecker wrote: > Maybe cmpxchg() should itself be a wrapper that does this build time choice > between cmpxchg32() and cmpxchg64(). > > And if it looks too dangerous to convert all users, this could be cmpxchg_t().
It cannot, not all 32bit archs can do a 64bit cmpxchg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/