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: https://git.stricted.de/?a=commitdiff_plain;h=99f7b77d3c62045bb47dfc4228a2341ba71bff1d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 6b540237a2f..4b5cd553e77 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 */