Re: [PATCH 1/3] atomic: use <linux/atomic.h>

From: Andrew Morton
Date: Wed Jun 15 2011 - 19:31:45 EST



I didn't merge patch #3. With patches 1 & 2 applied, i386 allnoconfig:


CC arch/x86/kernel/asm-offsets.s
In file included from /usr/src/devel/arch/x86/include/asm/atomic.h:321,
from include/linux/atomic.h:3,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:8:
include/asm-generic/atomic-long.h: In function 'atomic_long_add_unless':
include/asm-generic/atomic-long.h:246: error: implicit declaration of function 'atomic_add_unless'
In file included from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/atomic.h: At top level:
include/linux/atomic.h:14: error: static declaration of 'atomic_add_unless' follows non-static declaration
include/asm-generic/atomic-long.h:246: note: previous implicit declaration of 'atomic_add_unless' was here
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/