s390/cpum_cf: move cpum_cf_ctrset_size()
authorThomas Richter <tmricht@linux.ibm.com>
Tue, 24 Jan 2023 11:20:51 +0000 (12:20 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 25 Jan 2023 19:51:09 +0000 (20:51 +0100)
commit345d2a4dcdb7d0f33ebd990a19aeb3f3f458817d
tree821439e272fb493654d398ec61d6b2a9a920f514
parent1ce357cb825f184519cf1d3c2b01581a0b97663c
s390/cpum_cf: move cpum_cf_ctrset_size()

Function cpum_cf_ctrset_size() is defined in one source file and the
only user is in another source file. Move this function to the source
file where it is used and remove its prototype from the header file.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Hendrik Brueckner <brueckner@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.c
arch/s390/kernel/perf_cpum_cf_common.c