s390/cpum_cf: introduce kernel_cpumcf_avail() function
authorHendrik Brueckner <brueckner@linux.ibm.com>
Thu, 25 Oct 2018 14:58:15 +0000 (16:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 22 Feb 2019 08:19:54 +0000 (09:19 +0100)
commit869f4f98fafadddb3a871b9513f24a44479d8296
tree144ab4e9a70e7228393f08252a57a9c6f4aa8166
parent346d034d7f13da9eb135458a2f6cf14c9b77a637
s390/cpum_cf: introduce kernel_cpumcf_avail() function

A preparation to move out common CPU-MF counter facility support
functions, first introduce a function that indicates whether the
support is ready to use.

Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mcf.h
arch/s390/kernel/perf_cpum_cf.c