summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cmpxchg.h
Commit message (Collapse)AuthorAgeFilesLines
* [S390] cmpxchg: implement cmpxchg64()Heiko Carstens2011-03-231-9/+29
| | | | | | | | We have a cmpxchg64_local() implementation but strange enough the SMP capable variant cmpxchg64() is missing. So implement it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
* [S390] xchg/cmpxchg: move to own header fileHeiko Carstens2011-03-231-0/+205
Move xchg() and cmpxchg() functions to own header file like some other architectures have done. With this we make sure that system.h now really looks like a place where everything is gathered that doesn't fit anywhere else. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
OpenPOWER on IntegriCloud