]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfee410783763f9f3e6740b110344655c3460d895
treead2226c60c38f44eb668821746390fd14369c121
parent702fa421bb26670214706d7b247b8d3ddd776293
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