Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH 1/6] i386 - fix cmpxchg warning | Date | Wed, 28 Mar 2007 21:05:03 +0200 |
| |
> #include <linux/compiler.h> > #include <asm/processor.h> > +#include <asm/system.h> Sorry no. system.h is the header from hell and putting it into a "basic" header like atomic_t will likely cause all kinds of problems.
If it's a real issue move cmpxchhg into a different header and include that from system.h and atomic.h. system.h has too much stuff anyways so it could use any cleanup.
-Andi - 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/
| |