s390/pai_ext: replace atomic_t with refcount_t
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 27 Apr 2023 08:33:31 +0000 (10:33 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 15 May 2023 12:12:14 +0000 (14:12 +0200)
commit1f2597cd3686955a4d64e01909dbfe625a2a35a1
treef3634d750ed551788d601c1d34876cec98b47f5a
parentecc758cee6a1088f2e2e684a09fea650472a47f0
s390/pai_ext: replace atomic_t with refcount_t

The s390 PMU of PAI extension 1 NNPA 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_ext.c