s390/pai_crypto: replace atomic_t with refcount_t
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 24 Apr 2023 06:53:55 +0000 (08:53 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 15 May 2023 12:12:14 +0000 (14:12 +0200)
commitecc758cee6a1088f2e2e684a09fea650472a47f0
tree7fe40abd8bcb885a092d2ea0f38ee6aeafcc1ae1
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
s390/pai_crypto: replace atomic_t with refcount_t

The s390 PMU of PAI crypto counters uses atomic_t for reference
counting. Replace this with the proper data type refcount_t.

No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/perf_pai_crypto.c