Re: [RFC] Introduce atomic_long_t

From: Andi Kleen
Date: Fri Dec 09 2005 - 17:20:00 EST


> I'd say the sequence is:
> 1. create an linux/atomic.h the #include's asm/atomic.h
> 2. convert all asm/atomic.h to use linux/atomic.h
> 3. move common code to linux/atomic.h

I don't think there is much common code actually. atomic_t
details vary widly between architectures. Just defining
a few macros to others is really not significant. I think
Christoph's original patch was just fine.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/