For instance:
#if ARCH_WORD_SIZE == 8
atomic64_t my_atomic;
#else
atomic_t my_atomic;
#endif
Without it, I end up doing alot of other magic. I don't see a problem
with having the #defines versus the inlines. Why have two chunks of code
which do exactly the same operations with only type differences?
Robin Holt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/