From: Mathieu Lacage Date: Sun, 27 Jun 2010 10:26:06 +0000 (+0200) Subject: asm-generic: make atomic_add_unless a function X-Git-Tag: v2.6.37-rc1~172^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b9d40691e8f5e7e0c8fb839c2bad29c5e0888ce;p=pandora-kernel.git asm-generic: make atomic_add_unless a function atomic_add_unless is a macro so, bad things happen if the caller defines a local variable named c, just like like the local variable c defined by the macro. Thus, convert atomic_add_unless to a function. (bug triggered by net/ipv4/netfilter/ipt_CLUSTERIP.c: clusterip_config_find_get calls atomic_inc_not_zero) Signed-off-by: Mathieu Lacage Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed