asm-generic: solve the conflict of atomic64_t type with linux/types.h and asm-generic/atomic64.h
Subsystems (2)
PATCH 1/1 asm-generic: solve the conflict of atomic64_t type with linux/types.h and asm-generic/atomic64.h
Signed-off-by Guan Xuetao <[email protected]>
--- include/asm-generic/atomic64.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/asm-generic/atomic64.h +2 -0
@@ -12,9 +12,11 @@#ifndef _ASM_GENERIC_ATOMIC64_H#define _ASM_GENERIC_ATOMIC64_H +#ifndef CONFIG_64BIT typedef struct {long long counter; }atomic64_t ; +#endif #define ATOMIC64_INIT (i) { (i) }
Signature · 1 line
1.6.2.2