diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-10-02 16:14:55 +0300 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-11-04 15:01:39 -0800 |
commit | a20d9fe5396585b6448aa13c5f6cf8d111b7b7f5 (patch) | |
tree | 2f32c0f47871ea7f6da3859508d27c755646392b /test/nptl/tst-cancel13.c | |
parent | caee5620633acbf1b620d9704a5a372358adba32 (diff) |
xtensa: fix atomic_decrement_if_positive() return value
atomic_decrement_if_positive() returns the old value of &mem, not the
(sometimes undefined) value of __tmp.
Fixes the uClibc nptl/tst-sem3 test.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'test/nptl/tst-cancel13.c')
0 files changed, 0 insertions, 0 deletions