It seems that if I just do
#include <asm/atomic.h>
I don't get what I expect, in particular CONFIG_SMP is not defined and
LOCK_PREFIX is "", and the "atomic" operations aren't actually atomic.
If I do
#include <linux/autoconf.h>
#include <asm/atomic.h>
then everything works fine. Am I supposed to have to include this
file? Or is something wrong with my setup? This is on Debian. Thanks.
-Lewis