]> git.baikalelectronics.ru Git - kernel.git/commit
s390/atomic: refactor atomic primitives
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 06:30:49 +0000 (07:30 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2016 15:37:33 +0000 (16:37 +0100)
commit6ced8c60e26ea37b6f4414b786464fa99dd70af0
tree22f35155d6fcb2440fb165e75adf1a36be9d11b5
parente86f68c0e17d600f9d30d2c9255098690b9c13bc
s390/atomic: refactor atomic primitives

Rework atomic.h to make the low level functions avaible for use
in other headers without using atomic_t, e.g. in bitops.h.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/atomic.h
arch/s390/include/asm/atomic_ops.h [new file with mode: 0644]
arch/s390/pci/pci_debug.c