asm-generic: fix local_add_unless macro
authorRoel Kluin <[email protected]>
Mon, 18 May 2009 01:18:58 +0000 (18:18 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-generic/local.h