s390/cpumf: move counter set size calculation to common place
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 26 Apr 2021 12:38:25 +0000 (14:38 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 30 Apr 2021 15:17:00 +0000 (17:17 +0200)
commit1eefa4f4399b74dc7671c4e34c1b1c6244acff22
treead2226c60c38f44eb668821746390fd14369c121
parent0cceeab5a38d70fae3c2944e77e1d262c74d159b
s390/cpumf: move counter set size calculation to common place

The function to calculate the size of counter sets is renamed from
cf_diag_ctrset_size() to cpum_cf_ctrset_size() and moved to the file
containing common functions for the CPU Measurement Counter Facility.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by : Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/cpu_mcf.h
arch/s390/kernel/perf_cpum_cf_common.c
arch/s390/kernel/perf_cpum_cf_diag.c