asm-generic: fix local_add_unless macro
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 18 May 2009 01:18:58 +0000 (18:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 18 May 2009 15:34:08 +0000 (08:34 -0700)
commitbac9caf016bf147af7d3afbe7580a7f773cb1566
tree61593e1f5596702aefea7e49ca8c3cfaaeb225e7
parent22ef37eed673587ac984965dc88ba94c68873291
asm-generic: fix local_add_unless macro

`local_add_unless(x, y, z)' will be expanded to `(&(x)->y, (y), (x))', but
`&(x)->y' should be `&(x)->a'

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/local.h