From: Andi Kleen Date: Wed, 11 Jan 2006 21:46:12 +0000 (+0100) Subject: [PATCH] x86_64: Make sure BITS_PER_ATOMIC is defined in asm-generic/atomic.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=99f7b77d3c62045bb47dfc4228a2341ba71bff1d;p=openwrt%2Fstaging%2Fblogic.git [PATCH] x86_64: Make sure BITS_PER_ATOMIC is defined in asm-generic/atomic.h Fixes CC fs/nfsctl.o In file included from include2/asm/atomic.h:427, from /home/lsrc/quilt/linux/include/linux/file.h:8, from /home/lsrc/quilt/linux/fs/nfsctl.c:8: /home/lsrc/quilt/linux/include/asm-generic/atomic.h:20:5: warning: "BITS_PER_LONG" is not defined Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/atomic.h b/include/asm-x86_64/atomic.h index 6b540237a2f8..4b5cd553e772 100644 --- a/include/asm-x86_64/atomic.h +++ b/include/asm-x86_64/atomic.h @@ -2,6 +2,7 @@ #define __ARCH_X86_64_ATOMIC__ #include +#include /* atomic_t should be 32 bit signed type */