commit | 86d51bc31fabd3782a99375b6848c5c667e72605 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Wed Sep 11 14:28:47 2013 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Oct 24 17:16:46 2013 +0200 |
tree | 781b7b812c8fd4a51dbcdc238e8b90c4b3a2cbb6 | |
parent | fcd05b50fca44be3f96f8a17c5cce778669c29e7 [diff] |
s390/atomic: implement atomic_sub_return() with atomic_add_return() Get rid of the own atomic_sub_return() implementation. Otherwise we can't make use of the interlocked-access facility 1 instructions for atomic_sub_return(), since there is no "load and subtract" instruction available. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>