OSDN Git Service

s390/atomic,cmpxchg: switch to use atomic-instrumented.h
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 6 Apr 2021 19:33:47 +0000 (21:33 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 12 Apr 2021 10:46:43 +0000 (12:46 +0200)
commit000174233b91340ca52a9eca905d029a9a2aefd9
treeab305b01bc9154fc0c51e39ce1f274a3266416ec
parentd2b1f6d2d35043d2c9d079c1595f10c93bfca7d2
s390/atomic,cmpxchg: switch to use atomic-instrumented.h

Add arch_ prefix to all atomic operations, and define ARCH_ATOMIC.
This enables KASAN instrumentation for all atomic operations on s390.

This is the s390 variant of commit 8bf705d13039 ("locking/atomic/x86:
Switch atomic.h to use atomic-instrumented.h").

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/atomic.h
arch/s390/include/asm/cmpxchg.h