mirror of https://gitee.com/openkylin/linux.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 <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
e4b5939a7e
commit
99f7b77d3c
|
@ -2,6 +2,7 @@
|
||||||
#define __ARCH_X86_64_ATOMIC__
|
#define __ARCH_X86_64_ATOMIC__
|
||||||
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
|
#include <asm/types.h>
|
||||||
|
|
||||||
/* atomic_t should be 32 bit signed type */
|
/* atomic_t should be 32 bit signed type */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue