s390/cpum_cf: move stccm_avail()
authorThomas Richter <tmricht@linux.ibm.com>
Tue, 24 Jan 2023 11:20:52 +0000 (12:20 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 25 Jan 2023 19:51:10 +0000 (20:51 +0100)
commit7a8f09ac1850b17ca0cc9e1e4d6621a64661347e
treecb76bcfa838ff2d27934598c2f4e4df1e20914e3
parent345d2a4dcdb7d0f33ebd990a19aeb3f3f458817d
s390/cpum_cf: move stccm_avail()

Function stccm_avail() is defined in a header file and the
only user is one single source file. Move this function to the source
file where it is also used and remove it 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